fix(provider): follow-up CN/global consistency for Z.AI and aliases (#554)
* fix(provider): harden CN/global routing consistency for Chinese vendors * fix(agent): migrate CLI channel send to SendMessage * fix(onboard): deduplicate Z.AI key URL match arms
This commit is contained in:
parent
cd0dd13476
commit
fc6e8eb521
5 changed files with 97 additions and 13 deletions
|
|
@ -1130,8 +1130,11 @@ pub async fn run(
|
|||
}
|
||||
};
|
||||
final_output = response.clone();
|
||||
if let Err(e) =
|
||||
crate::channels::Channel::send(&cli, &format!("\n{response}\n"), "user").await
|
||||
if let Err(e) = crate::channels::Channel::send(
|
||||
&cli,
|
||||
&crate::channels::traits::SendMessage::new(format!("\n{response}\n"), "user"),
|
||||
)
|
||||
.await
|
||||
{
|
||||
eprintln!("\nError sending CLI response: {e}\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue