MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / isKimiModel

Function isKimiModel

web/src/llm-api/kimi-tool-compat.ts:3–5  ·  view source on GitHub ↗
(model: unknown)

Source from the content-addressed store, hash-verified

1import type { ChatCompletionRequestBody } from './types'
2
3export function isKimiModel(model: unknown): model is string {
4 return typeof model === 'string' && model.startsWith('moonshotai/')
5}
6
7function getToolCallNamesById(
8 messages: ChatCompletionRequestBody['messages'],

Callers 3

createOpenRouterRequestFunction · 0.90
createCanopyWaveRequestFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected