-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
I'm having an issue where I have added an ollama container into the docker-compose.yml, and can confirm via curl that the web container is able to send a request to generate an output and return this back to the web container.
Also, one thing to note is that if the LLM can't be reached, the same errors requesting to downgrade will still show. Likewise, I was able to send a curl request and noticed output returning back to me from the LLM, but using the web app still resulted in the error below.
The issue I'm facing is that upon saving rules on the email assistant page, I run into this. I am currently running ollama with gpt-oss:20b:
web-1 | [safe-action]: Calling action {
web-1 | "name": "saveRulesPrompt"
web-1 | }
web-1 | [safe-action]: Calling action {
web-1 | "name": "saveRulesPrompt"
web-1 | }
web-1 | [ai-rule]: Old prompt file {
web-1 | "emailAccountId": "cmel2s7110003nw0uw03wehjw",
web-1 | "exists": "does not exist"
web-1 | }
web-1 | [ai-rule]: Processing new rules prompt with AI {
web-1 | "emailAccountId": "cmel2s7110003nw0uw03wehjw"
web-1 | }
web-1 | [safe-action]: Server action error: {
web-1 | "metadata": {
web-1 | "name": "saveRulesPrompt"
web-1 | },
web-1 | "userId": "cmekza8lq0001qj0t23zve523",
web-1 | "userEmail": "[email protected]",
web-1 | "emailAccountId": "cmel2s7110003nw0uw03wehjw",
web-1 | "bindArgsClientInputs": [
web-1 | "cmel2s7110003nw0uw03wehjw"
web-1 | ],
web-1 | "error": "Ollama is not supported. Revert to version v1.7.28 or older to use it."
web-1 | }
web-1 | [ai-rule]: Old prompt file {
web-1 | "emailAccountId": "cmel2s7110003nw0uw03wehjw",
web-1 | "exists": "does not exist"
web-1 | }
web-1 | [ai-rule]: Processing new rules prompt with AI {
web-1 | "emailAccountId": "cmel2s7110003nw0uw03wehjw"
web-1 | }
web-1 | [safe-action]: Server action error: {
web-1 | "metadata": {
web-1 | "name": "saveRulesPrompt"
web-1 | },
web-1 | "userId": "cmekza8lq0001qj0t23zve523",
web-1 | "userEmail": "[email protected]",
web-1 | "emailAccountId": "cmel2s7110003nw0uw03wehjw",
web-1 | "bindArgsClientInputs": [
web-1 | "cmel2s7110003nw0uw03wehjw"
web-1 | ],
web-1 | "error": "Ollama is not supported. Revert to version v1.7.28 or older to use it."
web-1 | }
web-1 | [safe-action]: Calling action {
web-1 | "name": "saveRulesPrompt"
web-1 | }
web-1 | [safe-action]: Calling action {
web-1 | "name": "saveRulesPrompt"
web-1 | }
web-1 | [ai-rule]: Old prompt file {
web-1 | "emailAccountId": "cmel2s7110003nw0uw03wehjw",
web-1 | "exists": "does not exist"
web-1 | }
web-1 | [ai-rule]: Processing new rules prompt with AI {
web-1 | "emailAccountId": "cmel2s7110003nw0uw03wehjw"
web-1 | }
web-1 | [safe-action]: Server action error: {
web-1 | "metadata": {
web-1 | "name": "saveRulesPrompt"
web-1 | },
web-1 | "userId": "cmekza8lq0001qj0t23zve523",
web-1 | "userEmail": "[email protected]",
web-1 | "emailAccountId": "cmel2s7110003nw0uw03wehjw",
web-1 | "bindArgsClientInputs": [
web-1 | "cmel2s7110003nw0uw03wehjw"
web-1 | ],
web-1 | "error": "Ollama is not supported. Revert to version v1.7.28 or older to use it."
web-1 | }
web-1 | [ai-rule]: Old prompt file {
web-1 | "emailAccountId": "cmel2s7110003nw0uw03wehjw",
web-1 | "exists": "does not exist"
web-1 | }
web-1 | [ai-rule]: Processing new rules prompt with AI {
web-1 | "emailAccountId": "cmel2s7110003nw0uw03wehjw"
web-1 | }
web-1 | [safe-action]: Server action error: {
web-1 | "metadata": {
web-1 | "name": "saveRulesPrompt"
web-1 | },
web-1 | "userId": "cmekza8lq0001qj0t23zve523",
web-1 | "userEmail": "[email protected]",
web-1 | "emailAccountId": "cmel2s7110003nw0uw03wehjw",
web-1 | "bindArgsClientInputs": [
web-1 | "cmel2s7110003nw0uw03wehjw"
web-1 | ],
web-1 | "error": "Ollama is not supported. Revert to version v1.7.28 or older to use it."
web-1 | }
I have also filled in these settings in my .env to access the model:
OLLAMA_BASE_URL=http://ollama:11434/api
NEXT_PUBLIC_OLLAMA_MODEL=gpt-oss:20b
ECONOMY_LLM_PROVIDER=ollama
ECONOMY_LLM_MODEL=gpt-oss:20b
# Randomly generated
INTERNAL_API_KEY=608e0fad2a5cdbfe0e437d6b8e3109ec
API_KEY_SALT=3c98e41f8c09f0d9b343770c34050784
phil-r
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers