Expand description
The chat client trait and the automatic function-invocation loop.
Rust equivalent of agent_framework._clients plus the tool loop from
_tools.use_function_invocation.
Structs§
- Function
Invoking Chat Client - Wraps a
ChatClientto automatically execute local tool calls in a loop, mirroringuse_function_invocation. - Retry
Policy - Policy controlling
RetryingChatClientbackoff. - Retrying
Chat Client - A
ChatClientdecorator that retries transient failures with exponential backoff, honoring a serverRetry-Afterwhen present.
Enums§
- RetryOn
- Which errors a
RetryPolicyconsiders retryable.
Traits§
- Chat
Client - The interface every chat client implements.
- Embedding
Client - The interface every embedding client implements.
Type Aliases§
- Chat
Stream - A boxed stream of streaming chat updates.