picoclaw/pkg/providers/openai_compat
I Putu Eddy Irawan e54b1d39a5 refactor: parse Kimi API hostname once in constructor instead of per-call
Avoid re-parsing apiBase URL on every Chat() invocation by computing
isKimiAPI once in NewProvider(). Also document why the KimiCLI/0.77
User-Agent string is required.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 21:34:31 +07:00
..
provider.go refactor: parse Kimi API hostname once in constructor instead of per-call 2026-03-03 21:34:31 +07:00
provider_test.go fix: add kimi-code migration alias and User-Agent test 2026-03-03 09:18:26 +07:00