CodeWiki icon indicating copy to clipboard operation
CodeWiki copied to clipboard

Incorrect URL in README.md example (https://api.anthropic.com => https://api.anthropic.com/messages)

Open six5536 opened this issue 11 months ago • 1 comments

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

six5536 avatar Dec 16 '25 20:12 six5536

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.

brianminhle avatar Dec 17 '25 12:12 brianminhle