mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 20:20:57 +00:00
fix: remove detailed generationConfig
This commit is contained in:
parent
15f4c1ebd6
commit
8da376637a
1 changed files with 0 additions and 20 deletions
|
|
@ -346,26 +346,6 @@ export function ModelDialog({ onClose }: ModelDialogProps): React.JSX.Element {
|
|||
/>
|
||||
</>
|
||||
)}
|
||||
|
||||
{effectiveConfig?.samplingParams ? (
|
||||
<ConfigRow
|
||||
label="Sampling"
|
||||
value={
|
||||
`temperature=${effectiveConfig.samplingParams.temperature ?? t('unset')} ` +
|
||||
`top_p=${effectiveConfig.samplingParams.top_p ?? t('unset')} ` +
|
||||
`max_tokens=${effectiveConfig.samplingParams.max_tokens ?? t('unset')}`
|
||||
}
|
||||
badge={formatSourceBadge(sources['samplingParams'])}
|
||||
/>
|
||||
) : null}
|
||||
|
||||
{effectiveConfig?.timeout !== undefined ? (
|
||||
<ConfigRow
|
||||
label="Timeout"
|
||||
value={String(effectiveConfig.timeout)}
|
||||
badge={formatSourceBadge(sources['timeout'])}
|
||||
/>
|
||||
) : null}
|
||||
</Box>
|
||||
</Box>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue