Skip to content

fix(cartesia): avoid retry after partial output - #1670

Open
nkootstra wants to merge 1 commit into
supermemoryai:mainfrom
nkootstra:fix/cartesia-no-retry-after-yield
Open

nkootstra wants to merge 1 commit into
supermemoryai:mainfrom
nkootstra:fix/cartesia-no-retry-after-yield

Conversation

@nkootstra

Copy link
Copy Markdown

Before this change, a wrapped Cartesia agent that yielded output and then raised was called a second time by the memory fallback. The failure now propagates after the first partial output, which prevents duplicate output and repeated side effects. Memory preparation failures still use the existing best-effort fallback.

Validated with the Cartesia unit suite and Python bytecode compilation.

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.

1 participant