Skip to content

SCR-652 follow-up: Perplexity ask html=True / raw=True (0.81.0) - #106

Merged
0xGhostCasper merged 1 commit into
mainfrom
0xGhostCasper/pplx-html-raw
Nov 18, 2026
Merged

0xGhostCasper merged 1 commit into
mainfrom
0xGhostCasper/pplx-html-raw

Conversation

@0xGhostCasper

Copy link
Copy Markdown
Member

Adds two opt-in flags to perplexity.ask_perplexity_a_question:

  • html=True → the response gains answer_html: the answer rendered as an HTML fragment, each [n] citation linked to its source.
  • raw=True → the response gains raw: Perplexity's own final answer object as it sent it.

Both are sent only when True, so existing calls send exactly what they did. Version 0.81.0 (CHANGELOG). Also makes test_public_exports compare __version__ with SDK_VERSION instead of a literal.

The API side ships in scrape-badger/scrapebadger (web-go perplexity + portal-api OpenAPI + the python-v1-surface.json signature update). Merge this before that PR, so the codegen surface-lock on main sees the new signature.

🤖 Generated with Claude Code

…e (raw); 0.81.0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@0xGhostCasper
0xGhostCasper merged commit 6850a9a into main Nov 18, 2026
7 checks passed
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