FallbackLLMClient class

Default LLM client wired by AgentRuntimePlugin (FR-007). Mirrors dart_agent_core's FallbackLLMClient: tries the primary client; on failure, falls back to the secondary.

Implemented types

Constructors

FallbackLLMClient({LlmClient? primary, LlmClient? secondary})

Properties

hashCode int
The hash code for this object.
no setterinherited
primary LlmClient?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondary LlmClient?
final

Methods

complete(String prompt) Future<String>
Generates a completion for prompt. Returns the assistant message.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited