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

[Feature Request]: support custom model #3

Open
skyf0cker opened this issue Mar 20, 2024 · 1 comment
Open

[Feature Request]: support custom model #3

skyf0cker opened this issue Mar 20, 2024 · 1 comment

Comments

@skyf0cker
Copy link

I would like to thank the author for open-sourcing AssisChat. After trying it, I feel it is not inferior to any paid iOS application. The AssisChat UI design is excellent and beautiful, and its sharing and keyboard extension capabilities are also very strong, solving many of my problems ;)
Seeing that the project now supports OpenAI and Claude API, as well as custom API domain, is fantastic. If it could also add support for custom model names, it would allow more users of other services to use AssisChat, such as OpenRouter, Perplexity, and others.

FYI, here is an example of openrouter API request:

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -d '{
  "model": "openai/gpt-3.5-turbo",
  "messages": [
    {"role": "user", "content": "What is the meaning of life?"}
  ]
}'
@noobnooc
Copy link
Owner

Thanks for feedback. I'll check it while I'm available. Or feel free to submit a PR. ❤️

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