AutotitleConversationJob not working for Ollama #577
Replies: 4 comments 2 replies
-
There's a workaround for now by putting something in |
Beta Was this translation helpful? Give feedback.
-
@mattlindsey Hmm, I see what you're saying. The reason I added this check is before we had this job failing and it would keep retrying so I was attempting to gracefully short circuit. It's notable that the app does not cleanly handle the case where a token is not required. In fact, I just searched the code base and found this line: This makes it seem like the open_ai backend should not work at all if the effective token is blank. But you're saying this LLM works with a blank token? |
Beta Was this translation helpful? Give feedback.
-
Fixed by #583 |
Beta Was this translation helpful? Give feedback.
-
Thanks @mattlindsey ! |
Beta Was this translation helpful? Give feedback.
-
Conversations with Ollama don't get their title updated from 'New chat' because this job returns before executing. This is because Ollama does not require an API key.
If this line is removed, AutotitleConversationJob works fine. Is the line definitely required? Or how should we fix it?
hostedgpt/app/jobs/autotitle_conversation_job.rb
Line 10 in b8c9c52
Beta Was this translation helpful? Give feedback.
All reactions