MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / chat

Method chat

crates/opencode-session/src/compaction.rs:1061–1065  ·  view source on GitHub ↗
(&self, _request: ChatRequest)

Source from the content-addressed store, hash-verified

1059 }
1060
1061 async fn chat(&self, _request: ChatRequest) -> Result<ChatResponse, ProviderError> {
1062 Err(ProviderError::InvalidRequest(
1063 "chat() not used in this test".to_string(),
1064 ))
1065 }
1066
1067 async fn chat_stream(&self, request: ChatRequest) -> Result<StreamResult, ProviderError> {
1068 *self.last_request.lock().await = Some(request);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected