@@ -635,6 +635,10 @@ func (c *ProviderConfig) TestConnection(resolver VariableResolver) error {
635 baseURL = "https://api.anthropic.com/v1"
635 baseURL = "https://api.anthropic.com/v1"
637 testURL = baseURL + "/models"
637 testURL = baseURL + "/models"
638+ // TODO: replace with const when catwalk is released
639+ if c.ID == "kimi-coding" {
640+ testURL = baseURL + "/v1/models"
638 headers["x-api-key"] = apiKey
642 headers["x-api-key"] = apiKey
639 headers["anthropic-version"] = "2023-06-01"
643 headers["anthropic-version"] = "2023-06-01"
640 case catwalk.TypeGoogle:
644 case catwalk.TypeGoogle: