MCPcopy Index your code
hub / github.com/CopilotKit/CopilotKit / toLanguageModelSchema

Function toLanguageModelSchema

packages/runtime/src/agent/index.ts:637–640  ·  view source on GitHub ↗
(schema: z.ZodSchema)

Source from the content-addressed store, hash-verified

635 */
636// eslint-disable-next-line @typescript-eslint/no-explicit-any
637function toLanguageModelSchema(schema: z.ZodSchema): Schema<any> {
638 // eslint-disable-next-line @typescript-eslint/no-explicit-any
639 return schema as unknown as Schema<any>;
640}
641
642export function convertToolsToVercelAITools(
643 tools: RunAgentInput["tools"],

Callers 2

runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…