3 ms·
For models available via Anthropic-compatible (currently Kimi-K2, GLM, Deepseek), the simplest way to use them with CC is by setting up a function in .zshrc: h
by d4rkp4ttern 1y ago
For models available via Anthropic-compatible (currently Kimi-K2, GLM, Deepseek), the simplest way to use them with CC is by setting up a function in .zshrc:
https://github.com/pchalasani/claude-code-tools/tree/main?tab=readme-ov-file#using-claude-code-with-open-weight-anthropic-api-compatible-llm-providers https://github.com/pchalasani/claude-code-tools/tree/main?ta...
Surprised that Qwen didn’t do the same, (though I know they have their own CLI-coding agent).
- renewiltord 1y agoThat's what I did to try it out but you don't have to export the vars. VAR=value cmd Will work to run cmd with value for VAR. Honestly it works pretty well. I wonder how much of the magic is in Claude code the tool and prompts vs the LLM
- laiso 1y ago>Surprised that Qwen didn’t do the same, It can be used with the following endpoint, but it's not particularly good export ANTHROPIC_BASE_URL=https://dashscope-intl.aliyuncs.com/api/v2/apps/claude-code-proxy https://dashscope-intl.aliyuncs.com/api/v2/apps/claude-code-... By the way, I'm benchmarking these comparisons: https://github.com/laiso/ts-bench/blob/main/src/agents/builders/claude.ts https://github.com/laiso/ts-bench/blob/main/src/agents/build...