mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-03-11 13:23:06 +01: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
@ -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 New Issue
Block a user