feat(api): use enum for API protocol in provider config

This commit is contained in:
yiling
2026-06-17 16:07:48 +08:00
parent 96a682b414
commit 0c89616a4e
4 changed files with 35 additions and 10 deletions
+1 -1
View File
@@ -306,7 +306,7 @@ describe('Agent Database Activities Integration', () => {
teamId: team.id,
name: 'openai',
config: {
api: 'openai',
api: 'openai-completions',
apiKey: 'mock-key',
},
},