The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
refactor(chat): adjust acknowledgement handling for chat messages
Steven Enamakelea03cddf1ad8
diff --git a/app/src/services/chatService.ts b/app/src/services/chatService.tsindex abfa1c01c0..15aabbf21c 100644--- a/app/src/services/chatService.ts+++ b/app/src/services/chatService.ts@@ -1029,8 +1029,8 @@ export async function chatSendWithAck(params: ChatSendParams): Promise<ChatSendA},});- // Started turns keep the legacy scalar request_id response. Only queued- // turns return the typed acknowledgement object below.+ // Keep accepting the legacy scalar while consuming the authoritative started+ // and queued acknowledgement shapes returned by current cores.if (typeof result === 'string') {return { requestId: result, queuedAttachments: [] };}diff --git a/crates/openhuman-core/src/threads/rpc_models.rs b/crates/openhuman-core/src/threads/rpc_models.rsindex af5adc2c76..f7ff1b365e 100644--- a/crates/openhuman-core/src/threads/rpc_models.rs+++ b/crates/openhuman-core/src/threads/rpc_models.rs@@ -10,8 +10,6 @@ use serde::{Deserialize, Serialize};pub use crate::core::envelope::{ApiEnvelope, ApiError, ApiMeta, EmptyRequest, PaginationMeta};-/// Typed acknowledgement returned when a web chat message enters the run queue.-/// Attachment values are sanitized opaque references minted by the core./// Typed acknowledgement returned when a web chat message starts immediately.#[derive(Debug, Clone, Serialize, JsonSchema)]#[serde(rename_all = "snake_case")]