feat: more AI models (#5207)

* feat: more AI models

* nits

* groq + openrouter

* nit
This commit is contained in:
HugoCasa
2025-02-04 22:17:30 +01:00
committed by GitHub
parent 8e0647833a
commit 49fedf12cd
41 changed files with 1884 additions and 720 deletions

View File

@@ -241,7 +241,9 @@ struct SimplifiedSettings {
error_handler_extra_args: Option<Value>,
error_handler_muted_on_cancel: bool,
ai_resource: Option<serde_json::Value>,
code_completion_enabled: bool,
ai_models: Vec<String>,
#[serde(skip_serializing_if = "Option::is_none")]
code_completion_model: Option<String>,
large_file_storage: Option<Value>,
git_sync: Option<Value>,
default_app: Option<String>,
@@ -617,7 +619,8 @@ pub(crate) async fn tarball_workspace(
deploy_to,
error_handler,
ai_resource,
code_completion_enabled,
ai_models,
code_completion_model,
error_handler_extra_args,
error_handler_muted_on_cancel,
large_file_storage,