Closed c157fl closed 8 months ago
Hello @c157fl! I have a silly question, did you save the updated setting beforehand? If yes, did you check if, after refreshing the page, the problem still persists?
The state management is something that needs to be improved, but I need a plan for it. Sorry for the inconvenience!
Hi @goniszewski. Not silly, my fault for not saying that part. That is correct. I had tested the url (to select the model) and then saved. Then tried a request and then while preserving the log in the network panel went back and got the screenshot. I had also done some refreshes in the meanwhile before I made the change.
Could you tell me where would the url be stored for the user? It may be the case that have an issue in my pocketbase installation (#72).
No worries!
Did a full reset:
Perhaps the url could be configured as an environment variable?
Strange. You can also check the JSON for user options in the PocketBase UI, to see if the value there matches the one you've set.
Went into pocketbase and the URL there matched the URL defined in the settings. I logged out and back in and still localhost was still the target of the request. It would seems that the url is not being retrieved when performing the request to ollama.
@c157fl the issue should be now resolved in the latest
Docker image (available in the next ~40 minutes).
Thank you for reporting this bug!
Working perfectly. Thank you!
Hi there.
Describe the bug
Ollama URL from the settings is not respected when adding a link. I was able to bypass it by replacing all localhost:11434: find "." -type f | xargs sed -i "s/localhost:11434/aaa.bbb.ccc.ddd:11434"/g" and then building the image locally.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Request in 5 should be targeted at the ollama url in the settings.
Screenshots
(Edit for formatting)