Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for DeepSeek-Chat #52

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Rsplwe
Copy link

@Rsplwe Rsplwe commented Jan 27, 2025

No description provided.

@JusticeRage
Copy link
Owner

Hi! Thanks for the PR! Looking at the code, it looks like a lot of code is duplicated from the OpenAI model classes. Implementing DeepSeek as a subclass of GPT should be a better way to go about this since the APIs are compatible.
I will look into this shortly!

@Rsplwe Rsplwe force-pushed the main branch 3 times, most recently from b1e6839 to 5ad093b Compare January 28, 2025 16:45
@Rsplwe
Copy link
Author

Rsplwe commented Jan 28, 2025

OK, now DeepSeek has been implemented as a subclass of GPT

@JusticeRage
Copy link
Owner

Thanks! One last thing I think may be missing is that there doesn't seem to be a default URL for the DeepSeek endpoint.
If I recall correctly the get_config function can provide a default value if nothing is found in the config or environment variables.
Then I'll test that ASAP and merge, hopefully tonight!

@Rsplwe
Copy link
Author

Rsplwe commented Jan 28, 2025

Added default api url

@Rsplwe
Copy link
Author

Rsplwe commented Jan 28, 2025

Due to platform maintenance, the API is currently unavailable.

https://status.deepseek.com/

@JusticeRage
Copy link
Owner

The API platform still seems to be down. I'll test your code as soon as I get an opportunity, thanks again for your patience!

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.

2 participants