Skip to main content

Module event_processor

Module event_processor 

Source

Structs§

HistoryManager
OAuthOutputMessage
OutputMessage
PendingItem
UserChoiceCompleteOutputMessage
UserChoiceOutputMessage

Enums§

CompletionAction
What the model wants to do after a completion stream finishes.
CompletionEvent
Items yielded by the completion stream.
PrepareResult
The result of preparing an input message before sending it to the model.

Constants§

IMAGE_OMITTED_PLACEHOLDER
Placeholder text substituted for image tool-result content when the active model does not support image inputs.

Functions§

execute_action
input_event
Compute the AgentEvent for an input that was just accepted into history. Returns None for inputs with no display representation (e.g. a synthetic event whose originating tool call is no longer in history).
prepare_input
run_completion