feat(coding-agent): added temperature configuration setting for LLM sampling control

- Added `temperature` configuration setting to control LLM sampling temperature with values from 0 (deterministic) to 1 (creative) to -1 (provider default).
- Added temperature option selector in settings UI with preset values: Default, 0, 0.2, 0.5, 0.7, 1.
- Renamed `settingsInstance` parameter to `settings` in `CreateAgentSessionOptions` for consistency.
- Updated all internal references from `settingsInstance` to `settings` throughout SDK and components.
- Integrated temperature setting into agent configuration and selector controller.
This commit is contained in:
can1357
2026-02-10 15:25:10 +01:00
parent f3b185d5ec
commit 1eaf40b784
16 changed files with 118 additions and 60 deletions
+1 -1
View File
@@ -855,7 +855,7 @@ export async function runSubprocess(options: ExecutorOptions): Promise<SingleRes
cwd: worktree ?? cwd,
authStorage,
modelRegistry,
settingsInstance: settings,
settings,
model,
thinkingLevel: effectiveThinkingLevel,
toolNames,