mirror of
https://github.com/openai/codex.git
synced 2026-11-21 22:50:37 +00:00
Forward realtime assistant output through handoffs
This commit is contained in:
@@ -306,18 +306,6 @@ impl RealtimeWebsocketWriter {
|
||||
.await
|
||||
}
|
||||
|
||||
pub async fn send_conversation_developer_item_create(
|
||||
&self,
|
||||
text: String,
|
||||
) -> Result<(), ApiError> {
|
||||
self.send_json(&conversation_item_create_message(
|
||||
self.event_parser,
|
||||
ConversationRole::Developer,
|
||||
text,
|
||||
))
|
||||
.await
|
||||
}
|
||||
|
||||
pub async fn send_conversation_function_call_output(
|
||||
&self,
|
||||
call_id: String,
|
||||
|
||||
@@ -172,7 +172,6 @@ pub(super) enum ConversationItemType {
|
||||
#[derive(Debug, Clone, Copy, Serialize)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub(super) enum ConversationRole {
|
||||
Developer,
|
||||
User,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user