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

已關閉
#1,306 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
28/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
csharp, github
領域
ai, api, devtools

研究方向

檢視目前針對本機模型的 Dev Proxy 整合、API 規格產生流程、OpenAI 語言模型用戶端,以及預設提示詞檔案。判斷 GitHub Models 的基本層級是否支援產生的要求量,記錄要求限制與節流行為,評估提示詞的適用性,並記錄是否需要變更退避、驗證或提示詞集。

由索引模型根據 Issue 內容生成。

描述

needs research

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.

主要語言
C#
星號
841
分支
90
平均合併
2 天 10 小時
30 天內合併 PR
63

環境準備

  • 提供 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

dotnet/dev-proxy 的其他 Issue

查看 dotnet/dev-proxy 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。