Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,9 @@ services:
- POSTGRES_DB=quarkus
volumes:
- ./postgres-data:/var/lib/postgresql/data

ollama:
image: ollama/ollama:latest
container_name: ollama
ports:
- "11434:11434"
2 changes: 1 addition & 1 deletion timeless-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
</dependency>
<dependency>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep both

Copy link
Author

@Gabrielx47 Gabrielx47 Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay. Both are necessary, as one is used for local execution and the other for production execution.

<groupId>io.quarkiverse.langchain4j</groupId>
<artifactId>quarkus-langchain4j-openai</artifactId>
<artifactId>quarkus-langchain4j-ollama</artifactId>
<version>${quarkus-langchain4j-openai.version}</version>
</dependency>
<dependency>
Expand Down
8 changes: 6 additions & 2 deletions timeless-api/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ security.sensible.secret=${SECURITY_KEY}
whatsapp.incoming-message.queue-url=${INCOMING_MESSAGE_FIFO_URL}
whatsapp.recognized-message.queue-url=${RECOGNIZED_MESSAGE_FIFO_URL}

%local.quarkus.http.auth.proactive=false
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we need this one?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we need this one?

This is necessary because, for the registration to be successful, without it the server returns a 401 error. I still don't understand why, since the SignUpResource class has the @PermitAll annotation. In theory, the server shouldn't deny the registration. From what I've researched, this happens due to Quarkus' proactive authentication.
Screenshot from 2026-01-30 07-16-02

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This error occurs because it's in a pull request that has already been fixed #195

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This error occurs because it's in a pull request that has already been fixed #195

Good morning, @matheusandre1! I did a merge between the main branch and my branch.


# aws sqs
quarkus.sqs.devservices.enabled=false

Expand All @@ -19,8 +21,10 @@ quarkus.hibernate-orm.schema-management.strategy=update
%dev.quarkus.hibernate-orm.dev-ui.allow-hql=true

# ai
quarkus.langchain4j.openai.api-key=${OPENAI_API_KEY}
quarkus.langchain4j.openai.gpt-4-turbo.api-key=${OPENAI_API_KEY}
#quarkus.langchain4j.openai.api-key=${OPENAI_API_KEY}
#quarkus.langchain4j.openai.gpt-4-turbo.api-key=${OPENAI_API_KEY}
quarkus.langchain4j.ollama.base-url=http://localhost:11434/
quarkus.langchain4j.ollama.chat-model.model-id=llama3.2-vision:11b

# quinoa (frontend)
quarkus.quinoa.enable-spa-routing=true
Expand Down
2 changes: 1 addition & 1 deletion whatsapp/.env.local
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ AWS_SECRET_ACCESS_KEY=test
AWS_REGION=us-east-1
ASSETS_BUCKET=timeless-local-assets
INCOMING_MESSAGE_FIFO_URL=http://localhost:4566/000000000000/incoming-messages.fifo
RECOGNIZED_MESSAGES_FIFO_URL=http://localhost:4566/000000000000/messages-processed.fifo
RECOGNIZED_MESSAGE_FIFO_URL=http://localhost:4566/000000000000/messages-processed.fifo
ALLOWED_PHONE_NUMBERS=
OPENAI_API_KEY=
128 changes: 80 additions & 48 deletions whatsapp/package-lock.json
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you remove this file from changes?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.