You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@fabricemrchl Salut! Je suis là pour vous aider avec votre problème.
The issue you're experiencing with OLLAMA not displaying responses in the AI chat interface might be related to how the responses from OLLAMA are processed or displayed in the codebase. Here are a few areas to investigate:
Response Processing: Ensure that the response from OLLAMA is being correctly processed in the onInputSubmit method of the AiStore class. This method is responsible for handling the AI response and updating the chat interface [1].
Error Handling: Check if there are any errors being thrown or logged when using OLLAMA. The codebase uses TRPCError for handling errors, which might provide insights if something is going wrong during the request or response handling [2].
Configuration and Headers: Verify that the API request to OLLAMA is correctly constructed, including any necessary headers or parameters. Although specific details about the OLLAMA request construction weren't found, ensuring that the request matches OLLAMA's expected format is crucial.
Compatibility and Logging: Look for any logging or debugging information that might indicate issues specific to OLLAMA. This could help identify if there are compatibility issues or if additional configurations are needed.
By focusing on these areas, you might be able to identify the root cause of the issue with OLLAMA.
Describe the bug
AI chat does not work with OLLAMA.
When usign OLLAMA as AI provider, chat does not display answer from OLLAMA.
It works with OpenAI API.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
AI answer displayed in the chat. Works with OpenAI API.
Screenshots
Screenshot attached
Additional context
OLLAMA instance run locally. Connection test succed in admin panel. URL used https://ollama_server_hostname/api/
The text was updated successfully, but these errors were encountered: