Skip to content

[P0] Bug: unsupported OpenAI type input for the inference requests #985

Closed @tamazgadaev opened 2026-03-31 15:15 UTC 4 comments Updated 2026-04-03 22:36 UTC

decentralized-api rejects valid Cursor/OpenAI chat requests where messages[].content is an array of text parts instead of a plain string. The request fails during request parsing on TA/executor because Message.Content is typed as string, producing 500 {"error":"json: cannot unmarshal array into Go struct field ... content of type string"} even though the payload is valid modern chat-completions format.


💬 Comments (4)

@tamazgadaev commented 2026-03-31 15:16 UTC

Check David's thoughts on this in the branch: https://github.com/gonka-ai/gonka/compare/main...codex/dl/diagnose-multimodal-content-parsing

@tamazgadaev commented 2026-03-31 15:16 UTC

@tcharchian FYI @patimen @DimaOrekhovPS Can you take a look?

@x0152 commented 2026-03-31 16:31 UTC

Hey! If we're talking about the current /v1/chat/completions endpoint then #614 covers this

@tcharchian commented 2026-04-01 03:09 UTC

@x0152 thanks! @DimaOrekhovPS will be working on merging David's changes first. And then will ask you @x0152 to merge them in David's branch. Hope that works for you


🔄 Auto-synced from Issue #985 every hour.