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
Hey everyone! Wanted to share something I've been working on that other mod-ollama-chat users might find useful.
I wrote a lightweight Python proxy that sits between mod-ollama-chat and Anthropic's Claude API. It translates the Ollama API format into Claude's Messages API format on the fly, so mod-ollama-chat doesn't know the difference, it thinks it's still talking to Ollama.
No C++ changes. No recompilation. Just run the proxy and change two lines in your config:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hey everyone! Wanted to share something I've been working on that other mod-ollama-chat users might find useful.
I wrote a lightweight Python proxy that sits between mod-ollama-chat and Anthropic's Claude API. It translates the Ollama API format into Claude's Messages API format on the fly, so mod-ollama-chat doesn't know the difference, it thinks it's still talking to Ollama.
No C++ changes. No recompilation. Just run the proxy and change two lines in your config:
OllamaChat.Url = http://localhost:11435/api/generate
OllamaChat.Model = claude-sonnet
You may use other claude models, but i found sonnet to be the best.
Here's the link to the GitHub repo
https://github.com/trauntrow/mod-ollama-chat-claude-proxy
All reactions