fix: handle reasoning_content for Kimi/thinking models (#7252)
Signed-off-by: clayarnoldg2m <carnold@g2m.ai> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -105,8 +105,15 @@ export default function ProviderConfigurationModal({
|
||||
|
||||
const toSubmit = Object.fromEntries(
|
||||
Object.entries(configValues)
|
||||
.filter(([_k, entry]) => !!entry.value)
|
||||
.map(([k, entry]) => [k, entry.value || ''])
|
||||
.filter(
|
||||
([_k, entry]) =>
|
||||
!!entry.value ||
|
||||
(entry.serverValue != null && typeof entry.serverValue === 'string')
|
||||
)
|
||||
.map(([k, entry]) => [
|
||||
k,
|
||||
entry.value ?? (typeof entry.serverValue === 'string' ? entry.serverValue : ''),
|
||||
])
|
||||
);
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user