AiChatRequest class

Request sent to the AI provider via AiChatAdapter.sendMessage.

The systemPrompt is automatically built by the package from rich issue context (metrics, encyclopedia knowledge, causal graph). The history contains all prior messages in the conversation.

Constructors

AiChatRequest({required String systemPrompt, required List<AiChatMessage> history})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
history → List<AiChatMessage>
Conversation history (user + assistant messages).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
systemPrompt → String
System prompt with issue context, built by the package.
final

Methods

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