Skip to content

fix(chat): read properties of undefined#997

Merged
hazeone merged 6 commits intomainfrom
fix/read_properties_of_undefined
May 9, 2026
Merged

fix(chat): read properties of undefined#997
hazeone merged 6 commits intomainfrom
fix/read_properties_of_undefined

Conversation

@hazeone
Copy link
Copy Markdown
Contributor

@hazeone hazeone commented May 9, 2026

Summary

From your session log, the failure is not tied to exec vs canvas specifically. Both assistant turns use api: "openai-completions" with provider custom-enterpri and model gpt-5.5, end with stopReason: "error", and share the same errorMessage.

That pattern fits a runtime exception inside the OpenAI Completions transport while the stream is being processed—often right when the provider sends a usage chunk (common near the end of a streamed turn, including after tool_calls).

img_v3_0211h_31c18522-0307-41d2-889c-106e3e90105g

Type of Change

  • Bug fix
  • New feature
  • Documentation
  • Refactor
  • Other

Validation

Checklist

  • I ran relevant checks/tests locally.
  • I updated docs if behavior or interfaces changed.
  • I verified there are no unrelated changes in this PR.

@hazeone hazeone merged commit 294c88f into main May 9, 2026
13 checks passed
@hazeone hazeone deleted the fix/read_properties_of_undefined branch May 9, 2026 09:06
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