[Feat]Support alternative openai compatible llm providers

Open
#42 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
api, backend

Research direction

Start by locating the existing OpenAI API key and model configuration, then trace where Quick Replies sends its OpenAI requests. Add the compatible API URL alongside those fields and verify that a custom URL routes requests away from the default while preserving the existing provider behavior.

Written by the indexing model from the issue text.

Description

enhancement
What do we need?

Quick Replies currently supports OpenAI, but many openai compatible providers follow the same API format.
To allow flexibility, we need to add a single input field for an OpenAI-compatible API URL. This should work alongside the existing OpenAI API key and model fields without requiring separate configurations.

Acceptance Criteria
  • Add a single input field for an open ai compatible api url.
  • The existing Openai api key and model fields should be used for openai compatible providers.
  • If a custom api url is provided, requests should be directed to it instead of the default OpenAI API.
  • Quick Replies should function correctly with alternative providers following OpenAI’s API schema.
Relevant ScreenShots

No response

Further Comments

No response

Dominant language
TypeScript
Stars
7
Forks
21
PR merge metrics
No merged PRs in 30d

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from RocketChat/Apps.QuickReplies

All issues in RocketChat/Apps.QuickReplies

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.