From ab16baed3e6dfe2787741c943f2d80960630edd9 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Fri, 18 Oct 2024 14:27:48 -0700 Subject: [PATCH] Fix edge case with Wave Proxy AI preset (#1073) 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. --- pkg/wconfig/defaultconfig/presets.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/wconfig/defaultconfig/presets.json b/pkg/wconfig/defaultconfig/presets.json index 38d16d494..30dc05942 100644 --- a/pkg/wconfig/defaultconfig/presets.json +++ b/pkg/wconfig/defaultconfig/presets.json @@ -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