Skip to content

Commit 87f1d5b

Browse files
authored
feat: add ai service (#1001)
1 parent e49a89d commit 87f1d5b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/shared/src/configs/ai-services.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,12 @@ export const serviceOptions: ServiceOption[] = [
234234
`Pro/THUDM/glm-4-9b-chat`,
235235
],
236236
},
237+
{
238+
value: `302ai`,
239+
label: `302.AI`,
240+
endpoint: ` https://api.302.ai/v1`,
241+
models: [`chatgpt-4o-latest`, `gpt-4o`, `gpt-4o-mini`, `gpt-4-turbo`, `o1-preview`, `o1-mini`, `claude-3-5-sonnet-latest`, `claude-3-5-sonnet-20241022`, `claude-3-5-haiku-20241022`, `grok-beta`],
242+
},
237243
{
238244
value: `bigmodel`,
239245
label: `智谱 AI`,

0 commit comments

Comments
 (0)