Skip to content
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

Playground doesn't work too well with persisted messages #2012

Open
yemyat opened this issue Feb 22, 2025 · 1 comment
Open

Playground doesn't work too well with persisted messages #2012

yemyat opened this issue Feb 22, 2025 · 1 comment
Assignees
Labels
bug Something isn't working LLM Issue with Mastra's interaction with an LLM Memory Issue with Mastra's memory store

Comments

@yemyat
Copy link

yemyat commented Feb 22, 2025

When we're persisting messages in the DB and there's a tool call involved, it seems like we are not sending the right array of messages to the LLM.

With OpenAI provider:
Image

With Google Generative AI Provider:
Image

It's probably because on subsequent messages, the previous tool calls are not sent to the LLM perhaps?

@github-actions github-actions bot added bug Something isn't working LLM Issue with Mastra's interaction with an LLM Memory Issue with Mastra's memory store labels Feb 22, 2025
@abhiaiyer91
Copy link
Contributor

Hi @yemyat ! interesting find. @TylerBarnes is on it ! :)

@TylerBarnes TylerBarnes self-assigned this Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working LLM Issue with Mastra's interaction with an LLM Memory Issue with Mastra's memory store
Projects
None yet
Development

No branches or pull requests

3 participants