You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `VISUAL_CONTEXT_BASE_URL` | `TRANSLATION_BASE_URL` | Optional separate base URL for the vision-capable visual context provider. |
306
+
| `VISUAL_CONTEXT_API_KEY` | `TRANSLATION_API_KEY` | Optional separate API key for the visual context provider. |
307
+
| `VISUAL_CONTEXT_ENDPOINT` | `TRANSLATION_ENDPOINT` | Optional separate endpoint for the visual context provider. |
308
+
| `VISUAL_CONTEXT_API_FORMAT` | `TRANSLATION_API_FORMAT` | Optional separate API format for the visual context provider. |
309
+
| `VISUAL_CONTEXT_MODEL` | `TRANSLATION_MODEL` | Vision-capable model used to summarize the shared tab/page screenshot. |
310
+
| `VISUAL_CONTEXT_MAX_TOKENS` | `240` | Maximum output tokens for the visual context summary. |
304
311
| `app.translation_flush_chars` | `300` | Translate buffered text once this many characters are available. |
305
312
| `app.translation_flush_seconds` | `5.0` | Translate buffered text after this many seconds if enough text is available. |
306
313
| `app.translation_flush_min_chars` | `120` | Minimum text required for time-based translation flushing. |
@@ -563,3 +570,7 @@ guidance for adding custom provider adapters.
563
570
- Persist `media/output` if generated audio should survive restarts.
564
571
- Treat transcripts, translations, and generated audio as user data.
565
572
- Review AGPL-3.0 obligations before offering a modified hosted service.
573
+
574
+
### Shared Tab Visual Context
575
+
576
+
When `VISUAL_CONTEXT_ENABLED=true`, tab-audio sessions capture one browser-approved shared tab/page screenshot after sharing starts. PolyTalk sends the image for immediate summarization and does not store the raw screenshot. The generated summary is used as a translation hint for visible titles, names, labels, and domain vocabulary; spoken audio remains authoritative if it conflicts with the visual hint.
0 commit comments