Download packages/llm/src/index.ts from SaylorTwift/opencode: direct link, hf CLI and curl.
- Browser
- Download file 963 Bytes
-
https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/llm/src/index.ts
- Command line
-
hf download hf://SaylorTwift/opencode/packages/llm/src/index.ts
-
curl -L -o index.ts https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/llm/src/index.ts
963 Bytes
| export { LLMClient } from "./route/client" | |
| export { Auth } from "./route/auth" | |
| export { Provider } from "./provider" | |
| export { isContextOverflow, isContextOverflowFailure } from "./provider-error" | |
| export type { | |
| RouteModelInput, | |
| RouteRoutedModelInput, | |
| Interface as LLMClientShape, | |
| Service as LLMClientService, | |
| } from "./route/client" | |
| export * from "./schema" | |
| export { Tool, ToolFailure, toDefinitions } from "./tool" | |
| export { ToolRuntime } from "./tool-runtime" | |
| export type { DispatchResult as ToolDispatchResult, ToolSettlement } from "./tool-runtime" | |
| export type { | |
| AnyExecutableTool, | |
| AnyTool, | |
| ExecutableTool, | |
| ExecutableTools, | |
| Tool as ToolShape, | |
| ToolExecute, | |
| ToolExecuteContext, | |
| ToolModelOutputInput, | |
| Tools, | |
| ToolSchema, | |
| ToolToModelOutput, | |
| } from "./tool" | |
| export * as LLM from "./llm" | |
| export type { | |
| Definition as ProviderDefinition, | |
| ModelFactory as ProviderModelFactory, | |
| ModelOptions as ProviderModelOptions, | |
| } from "./provider" | |