assistant: Fix issues when configuring different providers (#15072)

Release Notes:

- N/A

---------

Co-authored-by: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
Bennet Bo Fenner 2024-07-24 11:21:31 +02:00 committed by GitHub
parent ba6c36f370
commit af4b9805c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 225 additions and 148 deletions

View file

@ -1438,7 +1438,7 @@ impl Render for PromptEditor {
{
let model_name = available_model.name().0.clone();
let provider =
available_model.provider_name().0.clone();
available_model.provider_id().0.clone();
move |_| {
h_flex()
.w_full()