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:
@@ -855,7 +855,7 @@ export async function runSubprocess(options: ExecutorOptions): Promise<SingleRes
|
||||
cwd: worktree ?? cwd,
|
||||
authStorage,
|
||||
modelRegistry,
|
||||
settingsInstance: settings,
|
||||
settings,
|
||||
model,
|
||||
thinkingLevel: effectiveThinkingLevel,
|
||||
toolNames,
|
||||
|
||||
Reference in New Issue
Block a user