Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
cotran2 committed Oct 15, 2024
1 parent b8c6bd7 commit 4271dc0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions arch/src/stream_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,6 @@ impl StreamContext {
None => HashMap::new(), // Return an empty HashMap if v is not an object
};


let messages = &callout_context.request_body.messages;
let mut arch_assistant = false;
let mut user_messages = Vec::new();
Expand All @@ -740,8 +739,8 @@ impl StreamContext {
arch_assistant = true;
}
}
}
if arch_assistant {
}
if arch_assistant {
for message in messages.iter() {
if let Some(model) = message.model.as_ref() {
if !model.starts_with(ARCH_MODEL_PREFIX) {
Expand Down

0 comments on commit 4271dc0

Please sign in to comment.