mirror of
https://github.com/wavetermdev/waveterm
synced 2026-05-23 08:48:28 +00:00
fix: add frontend default to ai model header
For some reason, this crashes the app on startup without a frontend default. The backend does not suffice in this case.
This commit is contained in:
parent
923850313f
commit
ee7a95955f
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ export class WaveAiModel implements ViewModel {
|
|||
const viewTextChildren: HeaderElem[] = [
|
||||
{
|
||||
elemtype: "text",
|
||||
text: get(atoms.settingsConfigAtom).ai.model,
|
||||
text: get(atoms.settingsConfigAtom).ai?.model ?? "gpt-4o-mini",
|
||||
},
|
||||
];
|
||||
return viewTextChildren;
|
||||
|
|
|
|||
Loading…
Reference in a new issue