mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-22 00:31:44 +00:00
feat(agent-sdk): add public surface re-exports
This commit is contained in:
parent
82c03fd68a
commit
7ffe2bbdae
1 changed files with 35 additions and 0 deletions
35
sdks/typescript-agent-sdk/src/index.ts
Normal file
35
sdks/typescript-agent-sdk/src/index.ts
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
/**
|
||||
* @litellm/agent-sdk — public surface.
|
||||
*
|
||||
* Three-level hierarchy:
|
||||
* Agent — definition (model, system prompt, tools)
|
||||
* ↓
|
||||
* Session — VM sandbox running under an agent
|
||||
* ↓
|
||||
* Run — single execution within a session
|
||||
*/
|
||||
|
||||
export { Agent, AgentHandle } from "./agent.js";
|
||||
export { SessionHandle } from "./session.js";
|
||||
export { Run } from "./run.js";
|
||||
|
||||
export type {
|
||||
AgentCreateOptions,
|
||||
AgentInfo,
|
||||
ClientOptions,
|
||||
ConversationTurn,
|
||||
CreateSessionOptions,
|
||||
ListOptions,
|
||||
ListResult,
|
||||
Message,
|
||||
ModelRef,
|
||||
RunEvent,
|
||||
RunInfo,
|
||||
RunResult,
|
||||
RunStatus,
|
||||
SDKImage,
|
||||
SessionInfo,
|
||||
SessionStatus,
|
||||
} from "./types.js";
|
||||
|
||||
export { LiteLLMAgentError } from "./types.js";
|
||||
Loading…
Add table
Reference in a new issue