-
Notifications
You must be signed in to change notification settings - Fork 19k
feat(core)!: raise exception if type
value is different in dicts to merge
#32888
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: wip-v1.0
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
CodSpeed WallTime Performance ReportMerging #32888 will not alter performanceComparing
|
cc @baskaryan as you introduced the TODO. |
type
value is different in dicts to merge
CodSpeed Instrumentation Performance ReportMerging #32888 will not alter performanceComparing Summary
|
Some tests fail: assert AIMessageChunk(
content=[{"index": 0, "text": "I am", "type": "text_block"}]
) + AIMessageChunk(
content=[{"index": 0, "text": " indeed.", "type": "text_block_delta"}]
) == AIMessageChunk(
content=[{"index": 0, "text": "I am indeed.", "type": "text_block"}]
), (
"Concatenating when both content arrays are dicts with the same index "
"and different types should merge without updating type"
) It seems the So should we:
|
Uh oh!
There was an error while loading. Please reload this page.