Revert "Aggiungere LLM Providers (#48)" (#51)

This reverts commit 6ff2fcc2a7.
This commit was merged in pull request #51.
This commit is contained in:
Giacomo Bertolazzi
2025-10-26 16:56:21 +01:00
committed by GitHub
parent 6ff2fcc2a7
commit 830d1933b1
5 changed files with 56 additions and 96 deletions

View File

@@ -83,15 +83,13 @@ class ChatManager:
label="Modello da usare"
)
provider.change(fn=self.inputs.choose_team_leader, inputs=provider, outputs=None)
provider.value = self.inputs.team_leader_model.label
strategy = gr.Dropdown(
style = gr.Dropdown(
choices=self.inputs.list_strategies_names(),
type="index",
label="Stile di investimento"
)
strategy.change(fn=self.inputs.choose_strategy, inputs=strategy, outputs=None)
strategy.value = self.inputs.strategy.label
style.change(fn=self.inputs.choose_strategy, inputs=style, outputs=None)
chat = gr.ChatInterface(
fn=self.gradio_respond