Skip to content

Commit 3510952

Browse files
committed
revert reasoning effort level
1 parent a9a2bd6 commit 3510952

File tree

2 files changed

+1
-22
lines changed

2 files changed

+1
-22
lines changed

src/lib/helpers/types/agentTypes.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
* @property {string?} model
1818
* @property {number} max_recursion_depth
1919
* @property {number?} [max_output_tokens]
20-
* @property {string?} [reasoning_effort_level]
2120
*/
2221

2322

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

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
}
2020
2121
const recursiveDepthLowerLimit = 1;
22+
2223
/** @type {import('$commonTypes').LabelValuePair[]} */
2324
const reasonLevelOptions = [
2425
{ value: '', label: '' },
@@ -98,12 +99,6 @@
9899
handleAgentChange();
99100
}
100101
101-
/** @param {any} e */
102-
function changeReasoningEffortLevel(e) {
103-
config.reasoning_effort_level = e.target.value || null;
104-
handleAgentChange();
105-
}
106-
107102
/** @param {any} e */
108103
function validateIntegerInput(e) {
109104
const reg = new RegExp(INTEGER_REGEX, 'g');
@@ -179,20 +174,5 @@
179174
/>
180175
</div>
181176
</div>
182-
183-
<div class="mb-3 row">
184-
<label for="example-text-input" class="col-md-3 col-form-label">
185-
Reasoning level
186-
</label>
187-
<div class="col-md-9">
188-
<Input type="select" value={config.reasoning_effort_level} on:change={e => changeReasoningEffortLevel(e)}>
189-
{#each reasonLevelOptions as option}
190-
<option value={option.value} selected={option.value == config.reasoning_effort_level}>
191-
{option.label}
192-
</option>
193-
{/each}
194-
</Input>
195-
</div>
196-
</div>
197177
</CardBody>
198178
</Card>

0 commit comments

Comments
 (0)