error: [handleAbortError] AI response error; aborting request: Config not found for the ollama custom endpoint. #4677
-
What happened?I'm getting this error when I run the app with ollama separately. This is how my librechat.yaml looks like for the ollama model
When I access the chat it finds the model I have installed, but when I type a message I get this error
Also I see in the vscode console I checked the indentation of the YAML file, and it seems correct. Steps to Reproduce
What browsers are you seeing the problem on?No response Relevant log output2024-11-08 16:55:53 error: [handleAbortError] AI response error; aborting request: Config not found for the ollama custom endpoint.
2024-11-08 16:55:53 warn: Invalid conversation ID: null
2024-11-08 16:55:53 info: ---`saveMessage` context: undefined
2024-11-08 16:55:53 info: ---Invalid conversation ID Params: {
"sender": "Ollama",
"messageId": "aa6c5bcf-a813-46a6-a37b-db60c7f000eb",
"conversationId": null,
"parentMessageId": "00000000-0000-0000-0000-000000000000",
"unfinished": false,
"error": true,
"final": true,
"text": "An error occurred while processing your request. Please contact the Admin.",
"isCreatedByUser": false,
"user": "672df0d453e07c7ddd08eafa"
} ScreenshotsNo response Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
I'm dealing with the same issue. |
Beta Was this translation helpful? Give feedback.
-
Try updating to the latest build, this issue was resolved |
Beta Was this translation helpful? Give feedback.
-
I didn't find the root cause, but I found a way to work around the problem: the value of name needs to be in lowercase. endpoints: This is new, as previous deployments used name with only the first letter in uppercase without causing this error. Interestingly, the example on the LibreChat documentation site still shows name with an uppercase 'O'. |
Beta Was this translation helpful? Give feedback.
-
this is driving crazy (librechat.yaml) |
Beta Was this translation helpful? Give feedback.
-
Hi guys, for those who still can't get it to work, and you have already tried updating, change Ollama to lowercase. Please try #2745, it worked out for me by disableing Meli search |
Beta Was this translation helpful? Give feedback.
-
Apologies, it seems I missed something in my update, it should be fixed after this is merged and to remain case-insensitive: |
Beta Was this translation helpful? Give feedback.
I didn't find the root cause, but I found a way to work around the problem: the value of name needs to be in lowercase.
endpoints:
custom:
- name: "ollama"
apiKey: "ollama"
This is new, as previous deployments used name with only the first letter in uppercase without causing this error. Interestingly, the example on the LibreChat documentation site still shows name with an uppercase 'O'.