Skip to content

[NET-1387] fix: Force commit inner stream to capture output on stream break - #352

Open
Nithish-KV wants to merge 27 commits into
developfrom
fix/set-output-stream-break
Open

[NET-1387] fix: Force commit inner stream to capture output on stream break#352
Nithish-KV wants to merge 27 commits into
developfrom
fix/set-output-stream-break

Conversation

@Nithish-KV

@Nithish-KV Nithish-KV commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Change

  • fix: Update set_root_output_stream to force-commit the inner iterator, ensuring the inner stream output is correctly captured on early stream exit

Jira

NET-1387

akash-vijay-kv and others added 20 commits July 31, 2026 16:31
* feat: add opt-in TTL caching for get_prompt

Co-authored-by: Cursor <cursoragent@cursor.com>

* update doc

* remove 0.1.95 changelog

* fix: address PR review feedback for get_prompt caching

Restore the 0.1.95 changelog entry, bump to 0.1.96, skip cache writes
for non-positive TTL, and add shutdown and edge-case tests.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix

* fix: align instrumentation tests with current APIs and close LiteLLM/FastAPI gaps

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
…328)

* feat: add opt-in TTL caching for get_prompt

Co-authored-by: Cursor <cursoragent@cursor.com>

* update doc

* remove 0.1.95 changelog

* fix: address PR review feedback for get_prompt caching

Restore the 0.1.95 changelog entry, bump to 0.1.96, skip cache writes
for non-positive TTL, and add shutdown and edge-case tests.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix

* fix: align instrumentation tests with current APIs and close LiteLLM/FastAPI gaps

Co-authored-by: Cursor <cursoragent@cursor.com>

* feat(models): add opt-in TTL caching for get_model_pricing

* chore: remove phase-2-spec from models caching commit

* docs(models): fix get_model_pricing returns docs and note cache mutation

Co-authored-by: Cursor <cursoragent@cursor.com>

* NET-1329 simplify cache TTL to module const and per-call override (#329)

* NET-1329 simplify cache TTL to module const and per-call override

Co-authored-by: Cursor <cursoragent@cursor.com>

* test(prompts): assert default cache TTL is prompts-owned constant

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>

* docs: document opt-in TTL caching for get_model_pricing

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
… traces (#338)

* [NET-1386] feat: Add label on the root span for evaluation/simulation traces

* chore: Update changelog with new changes
Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants