Skip to content

Commit 49c0ac5

Browse files
committed
clean code
1 parent 6d91a16 commit 49c0ac5

File tree

4 files changed

+0
-12
lines changed

4 files changed

+0
-12
lines changed

src/routes/page/agent/[agentId]/agent-components/llm-configs/audio-transcription-config.svelte

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,17 @@
6363
if (!!!provider) {
6464
models = [];
6565
config.model = null;
66-
config.reasoning_effort_level = null;
6766
handleAgentChange();
6867
return;
6968
}
7069
71-
config.is_inherit = false;
7270
models = getLlmModels(provider);
7371
config.model = models[0]?.name;
7472
handleAgentChange();
7573
}
7674
7775
/** @param {any} e */
7876
function changeModel(e) {
79-
config.is_inherit = false;
8077
config.model = e.target.value || null;
8178
handleAgentChange();
8279
}

src/routes/page/agent/[agentId]/agent-components/llm-configs/image-edit-config.svelte

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,17 @@
6363
if (!!!provider) {
6464
models = [];
6565
config.model = null;
66-
config.reasoning_effort_level = null;
6766
handleAgentChange();
6867
return;
6968
}
7069
71-
config.is_inherit = false;
7270
models = getLlmModels(provider);
7371
config.model = models[0]?.name;
7472
handleAgentChange();
7573
}
7674
7775
/** @param {any} e */
7876
function changeModel(e) {
79-
config.is_inherit = false;
8077
config.model = e.target.value || null;
8178
handleAgentChange();
8279
}

src/routes/page/agent/[agentId]/agent-components/llm-configs/image-generation-config.svelte

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,17 @@
6363
if (!!!provider) {
6464
models = [];
6565
config.model = null;
66-
config.reasoning_effort_level = null;
6766
handleAgentChange();
6867
return;
6968
}
7069
71-
config.is_inherit = false;
7270
models = getLlmModels(provider);
7371
config.model = models[0]?.name;
7472
handleAgentChange();
7573
}
7674
7775
/** @param {any} e */
7876
function changeModel(e) {
79-
config.is_inherit = false;
8077
config.model = e.target.value || null;
8178
handleAgentChange();
8279
}

src/routes/page/agent/[agentId]/agent-components/llm-configs/realtime-config.svelte

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,17 @@
6363
if (!!!provider) {
6464
models = [];
6565
config.model = null;
66-
config.reasoning_effort_level = null;
6766
handleAgentChange();
6867
return;
6968
}
7069
71-
config.is_inherit = false;
7270
models = getLlmModels(provider);
7371
config.model = models[0]?.name;
7472
handleAgentChange();
7573
}
7674
7775
/** @param {any} e */
7876
function changeModel(e) {
79-
config.is_inherit = false;
8077
config.model = e.target.value || null;
8178
handleAgentChange();
8279
}

0 commit comments

Comments
 (0)