feat(tools): add kimi web_search provider

Co-authored-by: adshine <adshine@users.noreply.github.com>
This commit is contained in:
Peter Steinberger
2026-02-23 18:20:16 +00:00
parent f93ca93498
commit e02c470d5e
9 changed files with 508 additions and 17 deletions

View File

@@ -70,6 +70,25 @@ describe("web search provider config", () => {
expect(res.ok).toBe(true);
});
it("accepts kimi provider and config", () => {
const res = validateConfigObject({
tools: {
web: {
search: {
provider: "kimi",
kimi: {
apiKey: "test-key",
baseUrl: "https://api.moonshot.ai/v1",
model: "moonshot-v1-128k",
},
},
},
},
});
expect(res.ok).toBe(true);
});
});
describe("talk.voiceAliases", () => {