How to use GPT-5 mini with tools? Getting "required reasoning item" errors with Memory

Hey! Getting this error when using GPT-5 mini with tools + memory:
Item 'fc_...' of type 'function_call' was provided without
its required 'reasoning' item: 'rs_...'.
Item 'fc_...' of type 'function_call' was provided without
its required 'reasoning' item: 'rs_...'.
Happens on: Second message in a conversation (first works fine) Model: openai("gpt-5-mini") Has: Tools/functions enabled + Memory with thread Workaround: Switching to gpt-4.1-mini works Is this a known issue with reasoning models? Any config I'm missing?
1 Reply
Mastra Triager
GitHub
[DISCORD:1429430351310094499] How to use GPT-5 mini with tools? Get...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1429430351310094499 Hey! Getting this error when using GPT-5 mini with tools + memory: Item 'fc_...&#3...

Did you find this page helpful?