zed icon indicating copy to clipboard operation
zed copied to clipboard

Add tool support for DeepSeek

Open thlstsul opened this issue 7 months ago • 3 comments

deepseek function call api has been released and it is same as openai.

Release Notes:

  • N/A

thlstsul avatar May 08 '25 09:05 thlstsul

Seems like deepseek-reasoner also supports function calling, as stated here: https://api-docs.deepseek.com/guides/reasoning_model

Tested it locally and seems to work for both models.

bennetbo avatar Jun 02 '25 15:06 bennetbo

To simplify maintenance, I think it would be better to reuse OpenAI-compatible API LLMs with OpenAI logic. However, the context length needs to be configured separately.

For example, DeepSeek does not have a special API, but is published using the OpenAI API-compatible API. This should help Zed's large model support maintenance.

medz avatar Jun 02 '25 17:06 medz