dotnet / dotnet/dev-proxy

Research viability of using Dev Proxy with GitHub Models LLMs and handling throttling

Ouverte
#1,306 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
needs research
Langage dominant
C#
Étoiles
832
Forks
89
Merge moyen
12 h 1 min
PR mergées (30 j)
23

Description

We need to research the feasibility of integrating Dev Proxy with LLMs provided by GitHub Models. Specifically, determine if the basic tier of GitHub Models can handle the volume of requests that Dev Proxy generates (such as during API spec generation). Additionally, investigate whether there are any request limits or throttling behaviors that may impact this integration, as our current Dev Proxy implementation did not require throttling logic when used with local models. We should also verify, if our prompts are good enough or if we'd need to think about exposing prompt-sets to make it easier to switch between the models without having to manually replace all prompts in our default files.

If using GH Models turns out to be viable we'll likely need to:

- [ ] Implement handling throttling with proper back-off
- [ ] Add support for auth in the OpenAI language model client

Let's focus on verifying the viability, before we commit to an actual implementation.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Examinez l’intégration actuelle de Dev Proxy pour les modèles locaux, le flux de génération de la spécification d’API, le client de modèle de langage OpenAI et les fichiers de prompts par défaut. Déterminez si le niveau de base de GitHub Models prend en charge le volume de requêtes généré, documentez les limites de requêtes et le comportement de limitation, évaluez l’adéquation des prompts et indiquez si des modifications du back-off, de l’authentification ou de l’ensemble de prompts sont nécessaires.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
csharp, github
Domaine
ai, api, devtools
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
28/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.