Skip to main content

Crate kcode_k1_codex_web_search

Crate kcode_k1_codex_web_search 

Source
Expand description

Narrow normalized facade for K1 Codex web search.

Structs§

SessionConfig
Fixed-policy configuration for one session.
WebSearchFailure
A completed search that did not produce a final answer.
WebSearchMessage
Nonterminal output from an in-progress search.
WebSearchPhaseTiming
Elapsed time for one named phase.
WebSearchProvenance
Evidence tying terminal values to the request and backend execution.
WebSearchRequest
Validated inputs for one web-search request.
WebSearchRun
Bounded receiver and ownership guard for one normalized search run.
WebSearchSource
A source retained with the final answer.
WebSearchSourceCandidate
A source observed while an interim message is produced.
WebSearchSuccess
A completed search that produced a final answer.
WebSearchTiming
Phase observations and aggregate elapsed time.
WebSearchUsage
Provider token accounting. None means that the count is unknown.

Enums§

ArgumentValidationError
A rejected request argument or context-size spelling.
SearchContextSize
The provider-supported search-context size.
WebSearchCost
Cost evidence for a completed search.
WebSearchEvent
Stream value emitted by one search.
WebSearchFailureCategory
Stable, safe failure classification.
WebSearchFinished
Terminal search result.
WebSearchOutcome
Stable terminal result recorded in provenance.
WebSearchProviderEffect
Whether a failed operation could have affected the provider.

Functions§

start
Starts one Session run and adapts its events on the current Tokio runtime.