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

Supports custom API address. #34

Open
Sam5440 opened this issue Feb 19, 2025 · 2 comments
Open

Supports custom API address. #34

Sam5440 opened this issue Feb 19, 2025 · 2 comments

Comments

@Sam5440
Copy link

Sam5440 commented Feb 19, 2025

Due to certain restricted reasons, my API source is unofficial. I hope to add a place where I can customize the API address.

@Manouchehri
Copy link

Likewise! The endpoints are hardcoded here:

pub(crate) const ANTHROPIC_API_URL: &str = "https://api.anthropic.com/v1/messages";

pub(crate) const DEEPSEEK_API_URL: &str = "https://api.deepseek.com/chat/completions";

@Manouchehri
Copy link

Duplicate of #11.

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

No branches or pull requests

2 participants