feat(config): fix typo
This commit is contained in:
parent
1bcff03cfc
commit
1d344266aa
2 changed files with 5 additions and 5 deletions
|
@ -24,7 +24,7 @@ router.get('/', async (_, res) => {
|
|||
config['providers'][provider] = Object.keys(providers[provider]);
|
||||
}
|
||||
|
||||
config['openeaiApiKey'] = getOpenaiApiKey();
|
||||
config['openaiApiKey'] = getOpenaiApiKey();
|
||||
config['ollamaApiUrl'] = getOllamaApiEndpoint();
|
||||
config['groqApiKey'] = getGroqApiKey();
|
||||
|
||||
|
@ -36,7 +36,7 @@ router.post('/', async (req, res) => {
|
|||
|
||||
const updatedConfig = {
|
||||
API_KEYS: {
|
||||
OPENAI: config.openeaiApiKey,
|
||||
OPENAI: config.openaiApiKey,
|
||||
GROQ: config.groqApiKey,
|
||||
},
|
||||
API_ENDPOINTS: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue