Skip to content

Commit

Permalink
Fix edge case with Wave Proxy AI preset (#1073)
Browse files Browse the repository at this point in the history
If a user has changed the global AI settings and added a different base
url, the Wave Proxy preset would not work because it doesn't unset all
the AI settings.
  • Loading branch information
esimkowitz authored Oct 18, 2024
1 parent 98400fe commit ab16bae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/wconfig/defaultconfig/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@
"display:name": "Wave Proxy - gpt-4o-mini",
"display:order": 0,
"ai:*": true,
"ai:apitype": "",
"ai:baseurl": "",
"ai:apitoken": "",
"ai:name": "",
"ai:orgid": "",
"ai:model": "gpt-4o-mini",
"ai:maxtokens": 2048,
"ai:timeoutms": 60000
Expand Down

0 comments on commit ab16bae

Please sign in to comment.