Rig setup
This commit is contained in:
@@ -148,7 +148,7 @@ impl PendingResponseStreams {
|
||||
false
|
||||
} else {
|
||||
for response_stream in streams_to_cancel.into_iter() {
|
||||
log::info!(
|
||||
crate::ai::tool_diagnostics::tool_debug!(
|
||||
"Canceling active stream for conversation_id={conversation_id:?}, \
|
||||
reason={reason}"
|
||||
);
|
||||
|
||||
@@ -56,6 +56,10 @@ impl ResponseStreamId {
|
||||
&self.0
|
||||
}
|
||||
|
||||
pub(crate) fn from_persisted(value: String) -> Self {
|
||||
Self(value)
|
||||
}
|
||||
|
||||
pub fn for_shared_session(init_event: &response_event::StreamInit) -> Self {
|
||||
// Make the stream ID unique per viewing by appending a local UUID
|
||||
// This prevents collisions when replaying the same conversation multiple times
|
||||
|
||||
Reference in New Issue
Block a user