Bot commited on
Commit
3011824
·
1 Parent(s): cdb5b0a

Add Claude Code backend provider

Browse files
Files changed (1) hide show
  1. openai-compatible.config.ts +42 -0
openai-compatible.config.ts CHANGED
@@ -1,6 +1,48 @@
1
  import { type OpenAICompatibleProvider } from "./src/lib/ai/create-openai-compatiable";
2
 
3
  const providers: OpenAICompatibleProvider[] = [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  {
5
  "provider": "NVIDIA NIM",
6
  "apiKey": process.env.NVIDIA_API_KEY as string,
 
1
  import { type OpenAICompatibleProvider } from "./src/lib/ai/create-openai-compatiable";
2
 
3
  const providers: OpenAICompatibleProvider[] = [
4
+ {
5
+ "provider": "Claude Code",
6
+ "apiKey": process.env.BACKEND_API_KEY as string,
7
+ "baseUrl": "https://augment17-claude-code-backend.hf.space/v1",
8
+ "models": [
9
+ {
10
+ "apiName": "meta/llama-3.1-70b-instruct",
11
+ "uiName": "Llama 3.1 70B (Agentic)",
12
+ "supportsTools": true
13
+ },
14
+ {
15
+ "apiName": "meta/llama-3.1-405b-instruct",
16
+ "uiName": "Llama 3.1 405B (Agentic)",
17
+ "supportsTools": true
18
+ },
19
+ {
20
+ "apiName": "qwen/qwen2.5-coder-32b-instruct",
21
+ "uiName": "Qwen 2.5 Coder 32B (Agentic)",
22
+ "supportsTools": true
23
+ },
24
+ {
25
+ "apiName": "nvidia/llama-3.1-nemotron-70b-instruct",
26
+ "uiName": "Nemotron 70B (Agentic)",
27
+ "supportsTools": true
28
+ },
29
+ {
30
+ "apiName": "meta/llama-3.3-70b-instruct",
31
+ "uiName": "Llama 3.3 70B (Agentic)",
32
+ "supportsTools": true
33
+ },
34
+ {
35
+ "apiName": "deepseek-ai/deepseek-r1",
36
+ "uiName": "DeepSeek R1 (Chat only)",
37
+ "supportsTools": true
38
+ },
39
+ {
40
+ "apiName": "mistralai/mistral-large-2-instruct",
41
+ "uiName": "Mistral Large 2 (Chat only)",
42
+ "supportsTools": true
43
+ }
44
+ ]
45
+ },
46
  {
47
  "provider": "NVIDIA NIM",
48
  "apiKey": process.env.NVIDIA_API_KEY as string,