2
0

️(openai) Allow for custom base URL when adding new creds

Closes #1665
This commit is contained in:
Baptiste Arnaud
2024-08-21 16:07:30 +02:00
parent 6d47f3efed
commit 72517a1ec2
9 changed files with 17 additions and 25 deletions

View File

@ -14,5 +14,11 @@ export const auth = createAuth({
withVariableButton: false,
isDebounceDisabled: true,
}),
baseUrl: option.string.layout({
label: 'Base URL',
defaultValue: 'https://api.openai.com/v1',
moreInfoTooltip:
'Use a different URL prefix for API calls, e.g. to use proxy servers.',
}),
}),
})