MCPcopy
hub / github.com/alibaba/page-agent / LLMClient

Interface LLMClient

packages/llms/src/types.ts:57–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 * Note: Does not use generics because each tool in the tools array has different types
56 */
57export interface LLMClient {
58 invoke(
59 messages: Message[],
60 tools: Record<string, Tool>,
61 abortSignal?: AbortSignal,
62 options?: InvokeOptions
63 ): Promise<InvokeResult>
64}
65
66/**
67 * Invoke result (strict typing, supports generics)

Callers 4

executeMethod · 0.65
index.test.tsFile · 0.65
invokeMethod · 0.65

Implementers 2

OpenAIClientpackages/llms/src/OpenAIClient.ts
LLMpackages/llms/src/index.ts

Calls

no outgoing calls

Tested by

no test coverage detected