Forward realtime assistant output through handoffs

This commit is contained in:
Guinness Chen
2026-06-09 17:16:24 -07:00
parent f7b6cda8c8
commit 002f9fe228
7 changed files with 381 additions and 354 deletions
@@ -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,
}