RangiLyu commited on
Commit
a9647c0
·
verified ·
1 Parent(s): fe1086b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -474,7 +474,7 @@ If you do not want to self-host, you can use the official Intern API. Register a
474
 
475
  #### Connecting Agent Frameworks
476
 
477
- The service is OpenAI-compatible, so any agent framework works. You can set the base url to `https://chat.intern-ai.org.cn/api/v1` and the model name to `intern-s2-preview` in the cli or config file.
478
 
479
  You can check the connection with the following command:
480
 
@@ -483,7 +483,7 @@ curl https://chat.intern-ai.org.cn/api/v1/chat/completions \
483
  -H "Content-Type: application/json" \
484
  -H "Authorization: Bearer sk-xxxxxxxx" \
485
  -d '{
486
- "model": "intern-s2-preview",
487
  "messages": [
488
  {"role": "user", "content": "Hello"}
489
  ],
@@ -503,8 +503,8 @@ Claude Code can route to the official Intern API by pointing `ANTHROPIC_BASE_URL
503
  "env": {
504
  "ANTHROPIC_BASE_URL": "https://chat.intern-ai.org.cn",
505
  "ANTHROPIC_AUTH_TOKEN": "your-api-token",
506
- "ANTHROPIC_MODEL": "intern-s2-preview",
507
- "ANTHROPIC_SMALL_FAST_MODEL": "intern-s2-preview"
508
  }
509
  }
510
  ```
 
474
 
475
  #### Connecting Agent Frameworks
476
 
477
+ The service is OpenAI-compatible, so any agent framework works. You can set the base url to `https://chat.intern-ai.org.cn/api/v1` and the model name to `intern-s2-preview-397b` in the cli or config file.
478
 
479
  You can check the connection with the following command:
480
 
 
483
  -H "Content-Type: application/json" \
484
  -H "Authorization: Bearer sk-xxxxxxxx" \
485
  -d '{
486
+ "model": "intern-s2-preview-397b",
487
  "messages": [
488
  {"role": "user", "content": "Hello"}
489
  ],
 
503
  "env": {
504
  "ANTHROPIC_BASE_URL": "https://chat.intern-ai.org.cn",
505
  "ANTHROPIC_AUTH_TOKEN": "your-api-token",
506
+ "ANTHROPIC_MODEL": "intern-s2-preview-397b",
507
+ "ANTHROPIC_SMALL_FAST_MODEL": "intern-s2-preview-397b"
508
  }
509
  }
510
  ```