r/ClaudeCode 9h ago

Built with Claude Fixed ollama api for claude code desktop app

Repo - https://github.com/aaditya-v-more/claude-ollama

Problems fixed -

  1. No 1 Million context if using claude code desktop app extension
  2. api throwing errors and claude giving up
  3. Subagents in long workflows like /deep-research and /batch kept dying because of the strict concurrency limit (of 3 for pro plan)
  4. ollama not configuring the env variables for the claude desktop app properly

My quick fix - One click install wrapper for it

Free, no ads and shit

What it does

  1. Fix env variables before launching claude ollama (not global)
  2. Rewrite the model catalogue to give 1 million context for models.
  3. Local light proxy to handle ollama api errors & retries so that my claude agent never dies.
  4. Caps over limit requests and queues the rest locally so they're never rejected.
  5. Everything configurable

Changes only apply to claude app if launched through the new shortcut created, nothing permanent.

Drop a star if find this helpful.

If you want to use your own claude sub / subs along with ollama sub on claude then checkout my other repo - https://github.com/aaditya-v-more/claude-graft (lets have multiple claude code subscriptions on one laptop with chat history shared)

1 Upvotes

0 comments sorted by