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
{{ message }}
Repository navigation
Commit 4bb2f33
Browse filesBrowse the repository at this point in the historyBrowse files
- **checkpoint**
- **Fix streaming not running the parser, vscode image rendering issue,
openai responses bug, and vertex anthropic streaming**
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Refactors streaming to parse/deliver partials reliably, corrects
OpenAI Responses message/media formatting, enables Anthropic-on-Vertex
streaming, and improves playground cURL preview/copy behavior.
>
> - **Runtime/Streaming**:
> - Decouple SSE consumption from parsing with a throttled parser loop
and shared `ParserState`; emit deduped partials via `watch` snapshots.
> - Improve final fallback/error (`ErrorCode::Other(2)`, message) and
cancellation handling.
> - **Providers**:
> - **OpenAI Responses**: Normalize content parts (`input_text`,
`input_image` with `detail: auto`, `input_file` with `filename`),
disallow assistant media, and add unit test for mixed text+file.
> - **Vertex (Anthropic on Vertex)**: Route streaming via
`ResponseType::Anthropic` when `anthropic_version` is set and set
`stream: true` in request body.
> - **Streaming request**: Raise SSE event log level to `debug`.
> - **Tracing**:
> - Downgrade BAML source upload check failures from `error` to `warn`.
> - **Playground UI**:
> - Stabilize cURL preview: export `curlAtom`, memoize highlighter,
retain last cURL during loading, and support copying cURL when cURL tab
is active.
> - VSCode API wrapper: minor API cleanups for media file loading.
> - **Tests**:
> - Update/expand integration tests for Responses API (image detail, PDF
filename), Anthropic/Vertex streaming, and timing/format tweaks.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
2181a28. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
anyhow::bail!("BAML internal error (openai-responses): Local PDF files are not supported by OpenAI Responses API - use file_url for remote files or upload file and use file_id. File path: {:?}", file_content.relpath);
0 commit comments