Skip to content

Conversation

mrpaaradox
Copy link

Few weeks ago there was a change in the Playground docs where instead of (agent-playground) only (agent) was selected to import the definePlaygroundAPI. Previous version of the docs was working fine. Hence I am making this PR to reverse that change.

I have tested agent package & I couldn't find any supporting changing which can help us import the definePlaygroundAPI.
Also I see no updates for the same on the Official Convex Playground page as shown below.

Screenshot 2025-08-26 at 6 02 39 PM

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@nipunn1313
Copy link
Collaborator

@ianmacartney - can you review? If it looks good, I can merge.

@ianmacartney
Copy link
Contributor

@mrpaaradox as of version 0.1.17 (I believe) the Agent exports the definePlaygroundAPI function directly and is generally the pattern I recommend. That's a good callout that the hosted playground is outdated - I'm making that change to update it there to the new syntax. If you have any issues importing it from the Agent directly please let me know - filing a GitHub issue in the Agent repo would be preferred: https://github.com/get-convex/agent

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.

3 participants