mirror of
https://github.com/ParisNeo/ollama_proxy_server.git
synced 2026-01-13 14:18:00 -05:00
[Bug?] TypeError: _StoreTrueAction.__init__() got an unexpected keyword argument 'const' #25
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @VfBfoerst on 1/31/2024
Hi :),
I tried the new version with the Option "-d" but went into the following error message when starting the proxy via
ollama_proxy_server -d --config ./config.ini --port 8080Environment: Debian GNU/Linux 12 (bookworm), Python 3.11
I was able to fix it via:
sed -i "s/action='store_true'/action='store_const'/g" ollama_proxy_server/main.py(-> changed action='store_true' to action='store_const' in the main.py.)
The proxy then starts as expected.