Skip to content

fix: ignore stale NotebookLM responses - #26

Open
renanwilliam wants to merge 1 commit into
PleasePrompto:masterfrom
renanwilliam:fix/stale-response-capture
Open

fix: ignore stale NotebookLM responses#26
renanwilliam wants to merge 1 commit into
PleasePrompto:masterfrom
renanwilliam:fix/stale-response-capture

Conversation

@renanwilliam

Copy link
Copy Markdown

Summary

  • wait for existing NotebookLM chat history to hydrate before submitting a new question
  • ignore stale and transient response nodes when selecting the newly generated answer
  • raise the query timeout to 300 seconds for slower notebooks with many sources

Validation

  • ran python3 -m py_compile scripts/ask_question.py scripts/config.py
  • reproduced the stale-response behavior locally against a notebook with many sources
  • verified the patched script returned the newly generated answer instead of the old intro text

Closes #25.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant