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 for Additional LLMs (e.g., via openrouter.ai) #10707

Open
1 task
encodedLife opened this issue Mar 8, 2025 · 1 comment
Open
1 task
Labels
story Features perceivable by end-users

Comments

@encodedLife
Copy link

Description

Currently, AFFiNE uses the OpenAI provider by default, which limits users to a specific set of models. I propose adding support for additional LLM providers, ideally through integration with openrouter.ai, so that users can choose from a vast variety of language models, including DeepSeek, without being locked into one provider.

Use case

This feature would allow users to select the best-suited LLM for their needs. For example, I want to integrate the DeepSeek API into my AFFiNE self-hosted server, but the hardcoded model validation in the current OpenAI provider source code prevents using my preferred model. Supporting openrouter.ai would offer more flexibility and better meet diverse user requirements.

Anything else?

I really appreciate the solid work done on AFFiNE, especially the innovative Frames feature, which is both practical and creative. It’s clear that a lot of thought and effort has gone into making AFFiNE a powerful tool, and having it as an open source project is an incredible resource for the community. The Frames feature even reminds me somewhat of Prezi, providing a dynamic and engaging way to present content. Supporting additional LLMs would significantly enhance AFFiNE's versatility and overall value, enabling more tailored integrations for different use cases without locking users into a single provider.

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@encodedLife encodedLife added the story Features perceivable by end-users label Mar 8, 2025
@github-project-automation github-project-automation bot moved this to 🆕 *Untriaged in AFFiNE Project Mar 8, 2025
@affine-issue-bot
Copy link

Issue Status: 🆕 *Untriaged

*🆕 Untriaged

The team has not yet reviewed the issue. We usually do it within one business day.
Docs: https://github.com/toeverything/AFFiNE/blob/canary/docs/issue-triaging.md

This is an automatic reply by the bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
story Features perceivable by end-users
Projects
Status: 🆕 *Untriaged
Development

No branches or pull requests

1 participant