aaif-goose / aaif-goose/goose

New LM Studio REST API v1

未关闭
#11,896 1 条评论 1 个 reaction 已指派 3 人 已被 @lifeizhou-ap 认领 在 GitHub 查看
主要语言
Rust
星标
54.2k
派生
6.2k
平均合并
3 天 4 小时
30 天内合并 PR
240

描述

**Describe the bug**
proably the LM Studio provider in Goose AI agent desktop is not updated yet to the newer LM Studio REST API v1, which enables more endpoints than the Open AI compatible one.
This would include stats with total output tokes and capabilities with vision, which are currently not received in Goose AI for qwen 3.8 27b.
In particular the former would trigger the auto-compact feature, which would then not abruptly disconnect the LM Studio server with network error messages.

💡 Before filing, please check common issues:
https://goose-docs.ai/docs/troubleshooting

📦 To help us debug faster, attach your **diagnostics JSON report** if possible.
👉 How to capture it: https://goose-docs.ai/docs/troubleshooting/diagnostics-and-reporting/

A clear and concise description of what the bug is.

---

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

---

**Expected behavior**
A clear and concise description of what you expected to happen.

---

**Screenshots**
If applicable, add screenshots to help explain your problem.

---

**Please provide the following information**
- **OS & Arch:** linux 7.2.3-200.nobara.fc44.x86_64 x86_64
- **Interface:** UI
- **Version:** 1.49.0
- **Extensions enabled:** computercontroller, developer, scheduler, code_execution, Extension Manager, summarize, chatrecall, apps, analyze, skills, summon, autovisualiser, memory, Fetch, Knowledge Graph Memory, Playwright, YouTube Transcript, Tavily Web Search
- **Provider & Model:** lmstudio - qwen/qwen3.8-27b

---

**Additional context**
Add any other context about the problem here.

贡献指南

打开贡献指南

调研方向

在代码库中查找 LM Studio provider 的实现,它可能位于 providers 或 integrations 目录下。将当前的 Open AI 兼容 API 调用与较新的 LM Studio REST API v1 端点进行比较。目标是更新 provider,使其支持用于统计信息(总输出 tokens)和能力(视觉)的新端点。检查现有的 LM Studio 相关测试,以确保兼容性。

由索引模型根据 Issue 内容生成。

评估

技术栈
rust
领域
api, backend
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。