chore: code cleanup and documentation overhaul
- Remove debug header dump from MITM proxy (was temp debugging code) - Suppress dead_code warnings for intentional OpenAI compat fields - Rewrite README with styled mermaid architecture diagrams, full feature listing, usage examples, and CLI reference - Update endpoint-gap-analysis: images implemented, audio only stretch - Update mitm-interception-status: add request modification and error capture components - Update standalone-ls-todo: add new endpoints to test results - Zero compiler warnings
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
- ✅ `response_format: {type: "json_object"}` — injected as `responseMimeType: "application/json"`
|
||||
- ✅ Google Search grounding — `web_search: true` (Completions), `tools: [{type: "web_search_preview"}]` (Responses), `google_search: true` (Gemini)
|
||||
- ✅ `/v1/search` endpoint — dedicated web search via Google Search grounding, returns structured results + citations
|
||||
- ✅ Image uploads — `input_image` / `image_url` with base64 data URIs, injected via MITM as `inlineData`
|
||||
- ✅ Upstream error propagation — Google API errors (400, 429, 500) returned to client instantly instead of hanging
|
||||
|
||||
### Reasoning Effort → Thinking Level Mapping
|
||||
|
||||
@@ -114,9 +116,9 @@ All structured output features have been implemented.
|
||||
|
||||
### Stretch (research needed)
|
||||
|
||||
| # | Gap | API | Notes |
|
||||
| --- | -------------------------- | ---- | ---------------------------------------------------------------------------------------------------------------------------- |
|
||||
| 12 | **Image/audio modalities** | Both | LS `sendMessage` is text-only. Need to reverse-engineer proto format for binary payloads. Gemini 3 supports vision natively. |
|
||||
| # | Gap | API | Notes |
|
||||
| --- | --------------- | ---- | ---------------------------------------------------------------- |
|
||||
| 12 | **Audio input** | Both | Audio modalities not yet supported. Vision/images work via MITM. |
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user