Skip to content

feat(llms): add DeepSeek OpenAI-compatible API wrappers - #370

Open
ktz03 wants to merge 2 commits into
InternLM:mainfrom
ktz03:feat/deepseek-api-support
Open

feat(llms): add DeepSeek OpenAI-compatible API wrappers#370
ktz03 wants to merge 2 commits into
InternLM:mainfrom
ktz03:feat/deepseek-api-support

Conversation

@ktz03

@ktz03 ktz03 commented Aug 16, 2026

Copy link
Copy Markdown

Summary

  • Add DeepSeekAPI / AsyncDeepSeekAPI as thin OpenAI-compatible wrappers with DeepSeek default api_base and DEEPSEEK_API_KEY env support.
  • Export them from lagent.llms.

Fixes #301

Testing plan

  • from lagent.llms import DeepSeekAPI
  • With DEEPSEEK_API_KEY set, construct DeepSeekAPI(model_type='deepseek-chat') and run a short chat call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

不支持deepseek

1 participant