CodeWiki
CodeWiki copied to clipboard
Incorrect URL in README.md example (https://api.anthropic.com => https://api.anthropic.com/messages)
In the README.md, you have:
codewiki config set \
--api-key YOUR_API_KEY \
--base-url https://api.anthropic.com \
--main-model claude-sonnet-4 \
--cluster-model claude-sonnet-4
This is confusing because you are using OpenAI API compatibility.
Should be:
codewiki config set \
--api-key YOUR_API_KEY \
--base-url https://api.anthropic.com/messages \
--main-model claude-sonnet-4-5 \
--cluster-model claude-sonnet-4-5
We are using Anthropic’s OpenAI API compatibility layer, as documented here:
https://platform.claude.com/docs/en/api/openai-sdk
This compatibility layer requires using:
base_url = "https://api.anthropic.com/v1/"
If you encounter any other issues or have further questions, feel free to ask.