Skip to content

Keep session open on provider error text#44

Open
0xCheetah1 wants to merge 1 commit intoBlockRunAI:mainfrom
0xCheetah1:fix/provider-error-keeps-session-open
Open

Keep session open on provider error text#44
0xCheetah1 wants to merge 1 commit intoBlockRunAI:mainfrom
0xCheetah1:fix/provider-error-keeps-session-open

Conversation

@0xCheetah1
Copy link
Copy Markdown
Contributor

Summary

  • Handle gateway/provider errors returned as text without throwing out of the agent loop.
  • End only the current turn with an error so the interactive session stays open.
  • Persist session metadata before returning control to the prompt.

Testing

  • npm run build

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