fix: app stucks at generating response state after stopped the previous session (#4662)
* chore: add OpenAI o3-mini model to ship with the app by default * chore: should not reload model on inference parameters update * chore: update cortex.cpp rc build
This commit is contained in:
parent
9dc2597540
commit
e0437afb2c
@ -108,5 +108,18 @@
|
||||
"stream": true
|
||||
},
|
||||
"engine": "openai"
|
||||
},
|
||||
{
|
||||
"model": "o3-mini",
|
||||
"object": "model",
|
||||
"name": "OpenAI o3-mini",
|
||||
"version": "1.0",
|
||||
"description": "OpenAI most recent reasoning model, providing high intelligence at the same cost and latency targets of o1-mini.",
|
||||
"format": "api",
|
||||
"inference_params": {
|
||||
"max_tokens": 100000,
|
||||
"stream": true
|
||||
},
|
||||
"engine": "openai"
|
||||
}
|
||||
]
|
||||
|
||||
@ -1 +1 @@
|
||||
1.0.10-rc10
|
||||
1.0.10-rc12
|
||||
|
||||
@ -182,7 +182,6 @@ const ThreadRightPanel = () => {
|
||||
if (!activeThread || !activeAssistant) return
|
||||
|
||||
setEngineParamsUpdate(true)
|
||||
resetModel()
|
||||
|
||||
updateModelParameter(activeThread, {
|
||||
params: { [key]: value },
|
||||
@ -204,13 +203,7 @@ const ThreadRightPanel = () => {
|
||||
}
|
||||
}
|
||||
},
|
||||
[
|
||||
activeAssistant,
|
||||
activeThread,
|
||||
resetModel,
|
||||
setEngineParamsUpdate,
|
||||
updateModelParameter,
|
||||
]
|
||||
[activeAssistant, activeThread, setEngineParamsUpdate, updateModelParameter]
|
||||
)
|
||||
|
||||
if (!activeThread) {
|
||||
@ -287,7 +280,10 @@ const ThreadRightPanel = () => {
|
||||
<AccordionItem title={ENGINE_SETTINGS} value={ENGINE_SETTINGS}>
|
||||
<EngineSetting
|
||||
componentData={settings.engineSettings}
|
||||
onValueChanged={onValueChanged}
|
||||
onValueChanged={(key, value) => {
|
||||
resetModel()
|
||||
onValueChanged(key, value)
|
||||
}}
|
||||
/>
|
||||
</AccordionItem>
|
||||
)}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user