refactor(providers): migrate legacy API selector at input boundary
This commit is contained in:
1 parent
ed0eb89178
commit
7e2e804b5c
36 files changed
+294
-181
No files matched your search
@@ -410,7 +410,6 @@ export function useModelSettingsActions({
|
||||
if (provider.provider_api_configurable) update.api = providerForm.api;
|
||||
}
|
||||
for (const field of provider.advanced_fields ?? []) {
|
||||
if (field === "api_type") update.apiType = providerForm.apiType;
|
||||
if (field === "proxy") update.proxy = providerForm.proxy.trim();
|
||||
if (field === "extra_headers") {
|
||||
update.extraHeaders = providerForm.extraHeaders.trim();
|
||||
|
||||
Reference in new issue
Block a user