GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge pull request #1561 from LeoWang331/feat/1201-vision-sidecar-con… · agentHits/opencodex@ba6397a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • docs-site/src/content/docs
    • guides
      • sidecars.md
    • ja
      • guides
        • sidecars.md
      • reference/configuration
        • server.md
    • ko
      • guides
        • sidecars.md
      • reference/configuration
        • server.md
    • reference/configuration
      • server.md
    • ru
      • guides
        • sidecars.md
      • reference/configuration
        • server.md
    • zh-cn
      • guides
        • sidecars.md
      • reference/configuration
        • server.md
    • zh-tw
      • guides
        • sidecars.md
      • reference/configuration
        • server.md
  • docs/pr-assets
    • 1201-vision-1280.png
    • 1201-vision-1440.png
    • 1201-vision-420.png
    • 1201-vision-768.png
    • 1201-vision-sidecar-controls.png
  • gui
    • src
      • i18n
        • de.ts
        • en.ts
        • ja.ts
        • ko.ts
        • ru.ts
        • tr.ts
        • zh-TW.ts
        • zh.ts
      • pages
        • dashboard-overview-sections.tsx
        • dashboard-shared.ts
      • styles-dashboard-workspace.css
    • tests
      • vision-sidecar-controls.test.ts
      • vision-sidecar-dashboard.test.tsx
  • src
    • server/management
      • config-routes.ts
    • vision
      • index.ts
      • timeout-bounds.ts
  • structure
    • 05_gui-and-management-api.md
  • tests
    • sidecar-settings-vision-controls.test.ts
    • vision-anthropic.test.ts
    • vision-cache.test.ts
    • vision-sidecar-timeout-bounds.test.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎docs-site/src/content/docs/guides/sidecars.md‎

Copy file name to clipboardExpand all lines: docs-site/src/content/docs/guides/sidecars.md
+14-5Lines changed: 14 additions & 5 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,19 @@ A model is marked text-only per provider:
150150

151151
## Dashboard controls and disabling
152152

153-
<!-- TODO(WP5 GUI): Add the sidecar settings-screen walkthrough after the GUI controls ship. -->
154-
155-
The config-file keys are available now. Set `enabled: false` on either sidecar in `config.json` to
156-
disable it. Anthropic-OAuth search and image description reuse the existing Claude Code OAuth
157-
fingerprint precedent, but should be soak-tested with the intended account and workload.
153+
The Dashboard Vision sidecar card can enable or disable the sidecar, set
154+
`maxDescriptionsPerTurn`, and set `timeoutMs`, along with the existing model,
155+
backend, and reasoning controls. Disabling the sidecar does not delete those
156+
settings; turning it back on keeps the previous model, backend, reasoning,
157+
timeout, and limit.
158+
159+
`PUT /api/sidecar-settings` accepts the same fields. Partial updates leave
160+
omitted keys unchanged. `timeoutMs` uses the runtime integer bounds
161+
(1–2147483647 ms).
162+
163+
You can still set `enabled: false` in `config.json` if you prefer to edit the
164+
file directly. Anthropic-OAuth search and image description reuse the existing
165+
Claude Code OAuth fingerprint precedent, but should be soak-tested with the
166+
intended account and workload.
158167

159168
See the [Configuration reference](/reference/configuration/#sidecars) for every field.
Collapse file

‎docs-site/src/content/docs/ja/guides/sidecars.md‎

Copy file name to clipboardExpand all lines: docs-site/src/content/docs/ja/guides/sidecars.md
+4-4Lines changed: 4 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ OpenAI 実行経路、ダッシュボード、管理 API は `gpt-5.4-mini` を
128128

129129
## ダッシュボード設定とオフ
130130

131-
<!-- TODO(WP5 GUI): GUI コントロールが完成したらサイドカー設定画面の案内を追加してください。 -->
131+
ダッシュボードのビジョンサイドカーカードでは、既存のモデル・バックエンド・推論コントロールに加えて、サイドカーのオン/オフ、`maxDescriptionsPerTurn`、`timeoutMs` を設定できます。オフにしても他の設定は削除されず、再びオンにすると以前のモデル、バックエンド、推論、タイムアウト、上限が残ります。
132132

133-
設定ファイルキーは今すぐ使えます。機能をオフにするには `config.json` で該当サイドカーの
134-
`enabled` を `false` に設定してください。Anthropic OAuth 検索と画像説明は既存の Claude Code OAuth
135-
fingerprint 先例に従いますが、実際のアカウントと作業量で十分 soak test するのが無難です。全
133+
`PUT /api/sidecar-settings` は同じフィールドを受け付けます。部分更新では省略したキーをそのまま残します。`timeoutMs` はランタイムの整数範囲(1–2147483647 ms)を使います。
134+
135+
ファイルを直接編集したい場合は、これまでどおり `config.json` で `enabled` を `false` にできます。Anthropic OAuth 検索と画像説明は既存の Claude Code OAuth fingerprint 先例に従いますが、実際のアカウントと作業量で十分 soak test するのが無難です。全
136136
フィールドは[設定リファレンス](/ja/reference/configuration/#sidecars)を参照してください。
Collapse file

‎docs-site/src/content/docs/ja/reference/configuration/server.md‎

Copy file name to clipboardExpand all lines: docs-site/src/content/docs/ja/reference/configuration/server.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ OpenAI バックエンドには、ChatGPT ログインと有効な ChatGPT `forw
152152
| `model?` | `string` |バックエンド依存 | OpenAI の場合は `gpt-5.4-mini`、Anthropic の場合は `claude-sonnet-5`。 |
153153
| `reasoning?` | `"low" \| "medium" \| "high" \| "xhigh" \| "max"` | `"low"` | OpenAI Responses の推論負荷。Anthropic は無視します。 |
154154
| `maxDescriptionsPerTurn?` | `number` | `8` |新しい説明のキャッシュミスはメインターンごとに許可されます。 `0` は通話を無効にします。無効な値にはデフォルトが使用されます。 |
155-
| `timeoutMs?` | `number` | `45000` |サイドカーのフェッチタイムアウト。 |
155+
| `timeoutMs?` | `number` | `45000` |サイドカーのフェッチタイムアウト。整数 1–2147483647。 |
156156

157157
対応するレベルは、上流プロバイダーの能力と選択したモデルが公表する推論ラダーによって制限されます。 Vision は、プロバイダーの `noVisionModels` のモデルに送信された画像に対してのみアクティブになります。 OpenAI には、検索と同じログイン/転送要件があります。明示的に選択された Anthropic は、使用可能な認証情報がないと失敗します。成功した `data:` 記述では、バックエンド、モデル、詳細、画像バイト、および正規化されたメッセージ コンテキストをキーとした境界付きキャッシュが使用されます。OpenAI のキーには推論負荷も含まれます(Anthropic のキーには含まれません)。ヒットと同じターンの重複は制限を消費しません。リモート `https:` イメージと失敗した説明、または空の説明はキャッシュされません。
158158

Collapse file

‎docs-site/src/content/docs/ko/guides/sidecars.md‎

Copy file name to clipboardExpand all lines: docs-site/src/content/docs/ko/guides/sidecars.md
+4-3Lines changed: 4 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,10 @@ OpenAI 실행 경로, Dashboard, 관리 API는 `gpt-5.4-mini`를 폴백으로
129129

130130
## 대시보드 설정과 끄기
131131

132-
<!-- TODO(WP5 GUI): GUI 컨트롤이 완성되면 사이드카 설정 화면 안내를 추가하세요. -->
132+
대시보드 비전 사이드카 카드에서는 기존 모델·백엔드·추론 컨트롤과 함께 사이드카를 켜거나 끄고, `maxDescriptionsPerTurn`과 `timeoutMs`를 설정할 수 있습니다. 꺼도 다른 설정은 삭제되지 않으며, 다시 켜면 이전 모델, 백엔드, 추론, 제한 시간, 한도가 그대로 남습니다.
133133

134-
설정 파일 키는 지금 바로 사용할 수 있습니다. 기능을 끄려면 `config.json`에서 해당 사이드카의
135-
`enabled`를 `false`로 설정하세요. Anthropic OAuth 검색과 이미지 설명은 기존 Claude Code OAuth
134+
`PUT /api/sidecar-settings`는 같은 필드를 받습니다. 부분 업데이트는 보내지 않은 키를 유지합니다. `timeoutMs`는 런타임 정수 범위(1–2147483647 ms)를 사용합니다.
135+
136+
파일을 직접 고치고 싶다면 이전처럼 `config.json`에서 `enabled`를 `false`로 두면 됩니다. Anthropic OAuth 검색과 이미지 설명은 기존 Claude Code OAuth
136137
fingerprint 선례를 따르지만, 실제 계정과 작업량으로 충분히 soak test하는 편이 좋습니다. 전체
137138
필드는 [설정 레퍼런스](/ko/reference/configuration/#sidecars)를 참고하세요.
Collapse file

‎docs-site/src/content/docs/ko/reference/configuration/server.md‎

Copy file name to clipboardExpand all lines: docs-site/src/content/docs/ko/reference/configuration/server.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ OpenAI 백엔드는 ChatGPT 로그인과 활성화된 ChatGPT `forward` provider
152152
| `model?` | `string` | backend-dependent | OpenAI는 `gpt-5.4-mini`, Anthropic은 `claude-sonnet-5`입니다. |
153153
| `reasoning?` | `"low" \| "medium" \| "high" \| "xhigh" \| "max"` | `"low"` | OpenAI Responses 추론 강도입니다. Anthropic은 무시합니다. |
154154
| `maxDescriptionsPerTurn?` | `number` | `8` | 메인 턴당 허용되는 새 설명 캐시 미스 수입니다. `0`이면 호출이 비활성화되며, 잘못된 값은 기본값을 사용합니다. |
155-
| `timeoutMs?` | `number` | `45000` | 사이드카 fetch 제한 시간입니다. |
155+
| `timeoutMs?` | `number` | `45000` | 사이드카 fetch 제한 시간입니다. 정수 1–2147483647. |
156156

157157
지원되는 수준은 업스트림 제공자의 역량과 선택한 모델이 공개한 추론 사다리에 따라 제한됩니다. Vision은 provider의 `noVisionModels`에 속한 모델로 보낸 이미지에만 활성화됩니다. OpenAI는 검색과 같은 로그인/forward 요건을 갖고 있으며, 명시적으로 선택한 Anthropic은 사용할 수 있는 자격 증명이 없으면 닫힌 상태로 실패합니다. 성공한 `data:` 설명은 backend, model, detail, image bytes, 그리고 정규화된 메시지 컨텍스트를 키로 하는 bounded cache를 사용합니다. OpenAI 키에는 reasoning effort도 포함됩니다(Anthropic 키에는 없습니다). 히트와 같은 턴의 중복은 한도를 소모하지 않습니다. 원격 `https:` 이미지와 실패했거나 비어 있는 설명은 캐시하지 않습니다.
158158

Collapse file

‎docs-site/src/content/docs/reference/configuration/server.md‎

Copy file name to clipboardExpand all lines: docs-site/src/content/docs/reference/configuration/server.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ an inactivity guard, not a total generation deadline.
227227
| `backend?` | `"openai" \| "anthropic"` | auto | Same explicit-first, Anthropic-credential-aware selection as web search. |
228228
| `model?` | `string` | backend-dependent | `gpt-5.4-mini` for OpenAI or `claude-sonnet-5` for Anthropic. |
229229
| `maxDescriptionsPerTurn?` | `number` | `8` | New description cache misses admitted per main turn. `0` disables calls; invalid values use default. |
230-
| `timeoutMs?` | `number` | `45000` | Sidecar fetch timeout. |
230+
| `timeoutMs?` | `number` | `45000` | Sidecar fetch timeout. Integer 1–2147483647. |
231231

232232
Vision activates only for images sent to a model in its provider's `noVisionModels`. OpenAI has the
233233
same login/forward requirements as search; explicitly selected Anthropic fails closed without a usable
Collapse file

‎docs-site/src/content/docs/ru/guides/sidecars.md‎

Copy file name to clipboardExpand all lines: docs-site/src/content/docs/ru/guides/sidecars.md
+8-3Lines changed: 8 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,15 @@ SSE-событие `response.failed`.
141141

142142
## Управление из дашборда и отключение
143143

144-
<!-- TODO(WP5 GUI): Add the sidecar settings-screen walkthrough after the GUI controls ship. -->
144+
Карточка Vision sidecar на дашборде позволяет включать и выключать сайдкар, задавать
145+
`maxDescriptionsPerTurn` и `timeoutMs`, не убирая уже существующие элементы модели, бэкенда и
146+
рассуждения. Выключение не удаляет эти настройки; повторное включение сохраняет прежние
147+
значения модели, бэкенда, reasoning, таймаута и лимита.
145148

146-
Ключи в файле конфигурации доступны уже сейчас. Чтобы отключить любой из сайдкаров, установите ему
147-
`enabled: false` в `config.json`. Поиск и описание изображений через Anthropic OAuth переиспользуют
149+
`PUT /api/sidecar-settings` принимает те же поля. Частичное обновление оставляет непереданные ключи
150+
без изменений. `timeoutMs` использует целочисленные границы рантайма (1–2147483647 мс).
151+
152+
Если удобнее править файл, по-прежнему можно поставить `enabled: false` в `config.json`. Поиск и описание изображений через Anthropic OAuth переиспользуют
148153
существующий прецедент OAuth-отпечатка Claude Code, но их стоит обкатать с целевым аккаунтом и
149154
нагрузкой.
150155

Collapse file

‎docs-site/src/content/docs/ru/reference/configuration/server.md‎

Copy file name to clipboardExpand all lines: docs-site/src/content/docs/ru/reference/configuration/server.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ routed-model и hosted-search timeout. Эффективный watchdog мост
187187
| `model?` | `string` | backend-dependent | `gpt-5.4-mini` для OpenAI или `claude-sonnet-5` для Anthropic. |
188188
| `reasoning?` | `"low" \| "medium" \| "high" \| "xhigh" \| "max"` | `"low"` | Уровень рассуждений OpenAI Responses. Anthropic его игнорирует. |
189189
| `maxDescriptionsPerTurn?` | `number` | `8` | Максимум новых промахов description-cache за один main turn. `0` отключает вызовы; некорректные значения возвращают дефолт. |
190-
| `timeoutMs?` | `number` | `45000` | Таймаут запроса sidecar'а. |
190+
| `timeoutMs?` | `number` | `45000` | Таймаут запроса sidecar'а. Целое число 1–2147483647. |
191191

192192
Поддерживаемые уровни зависят от возможностей вышестоящего провайдера и заявленной лестницы
193193
рассуждений выбранной модели. Vision включается только для изображений, отправленных в модель, входящую в `noVisionModels` её
Collapse file

‎docs-site/src/content/docs/zh-cn/guides/sidecars.md‎

Copy file name to clipboardExpand all lines: docs-site/src/content/docs/zh-cn/guides/sidecars.md
+5-4Lines changed: 5 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,10 @@ Dashboard 和管理 API 都使用 `gpt-5.4-mini` 作为回退。启动时仍会
118118

119119
## 仪表盘设置与禁用
120120

121-
<!-- TODO(WP5 GUI): GUI 控件完成后补充 sidecar 设置页面操作说明。 -->
121+
仪表盘的视觉附属服务卡片可以启用或停用 sidecar,并设置 `maxDescriptionsPerTurn` 和
122+
`timeoutMs`,同时保留已有的模型、后端和推理强度控件。停用不会删除这些设置;重新启用后仍会保留原来的模型、后端、推理强度、超时和次数上限。
122123

123-
配置文件字段现在即可使用。如需禁用某个 sidecar,请在 `config.json` 中把对应的 `enabled` 设为
124-
`false`。Anthropic OAuth 搜索和图像描述沿用现有 Claude Code OAuth fingerprint 先例,但仍应使用
125-
目标账户和实际负载充分 soak test。所有字段见
124+
`PUT /api/sidecar-settings` 接受相同字段。部分更新会保留未提交的键。`timeoutMs` 使用运行时整数边界(1–2147483647 毫秒)。
125+
126+
如果更想直接改文件,仍可在 `config.json` 中把 `enabled` 设为 `false`。Anthropic OAuth 搜索和图像描述沿用现有 Claude Code OAuth fingerprint 先例,但仍应使用目标账户和实际负载充分 soak test。所有字段见
126127
[配置参考](/zh-cn/reference/configuration/#sidecars)。
Collapse file

‎docs-site/src/content/docs/zh-cn/reference/configuration/server.md‎

Copy file name to clipboardExpand all lines: docs-site/src/content/docs/zh-cn/reference/configuration/server.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ routed 重放会把主 ChatGPT 认证注入内部请求。Anthropic 后端使用
166166
| `model?` | `string` | 依后端而定 | OpenAI 使用 `gpt-5.4-mini`,Anthropic 使用 `claude-sonnet-5`。 |
167167
| `reasoning?` | `"low" \| "medium" \| "high" \| "xhigh" \| "max"` | `"low"` | OpenAI Responses 推理强度;Anthropic 会忽略该项。 |
168168
| `maxDescriptionsPerTurn?` | `number` | `8` | 每个主轮次允许的新增描述缓存未命中次数。`0` 会禁用调用;无效值会使用默认值。 |
169-
| `timeoutMs?` | `number` | `45000` | 侧车获取超时。 |
169+
| `timeoutMs?` | `number` | `45000` | 侧车获取超时。整数 1–2147483647。 |
170170

171171
支持的等级受上游提供方能力与所选模型公布的推理阶梯限制。Vision 只会对发送给其提供方 `noVisionModels` 中模型的图像生效。OpenAI 具有与 search 相同的登录/forward 要求;显式选择的 Anthropic 在没有可用凭据时会失败并关闭。成功的 `data:` 描述会使用一个受限缓存,其键由后端、模型、detail、图像字节以及规范化消息上下文组成;OpenAI 的键还会额外包含推理强度(Anthropic 键不含)。命中和同轮重复不会消耗限额。远程 `https:` 图像以及失败或空的描述不会被缓存。
172172

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.