Skip to content

Conversation

Kaushalsurana
Copy link
Contributor

This PR fixes a ValueError that occurs due to improper f-string formatting in the disease Q&A API example.

The error occurs because curly braces in the JSON example are interpreted as format specifiers.
Fixed by escaping curly braces in the f-string (doubling them) to display literal curly braces.

@james-pplx james-pplx merged commit 9ad6351 into perplexityai:main Apr 1, 2025
3 checks passed
james-pplx pushed a commit that referenced this pull request Apr 7, 2025
kesku pushed a commit that referenced this pull request Aug 5, 2025
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.

2 participants