Skip to content

Switch the frame LLM classifier to gpt-5.4-nano - #216

Merged
muodov merged 1 commit into
mainfrom
claude/gifted-taussig-8a494a
Nov 10, 2026
Merged

muodov merged 1 commit into
mainfrom
claude/gifted-taussig-8a494a

Conversation

@sammacbeth

Copy link
Copy Markdown
Collaborator

OpenAI has retired gpt-4.1-nano-2025-04-14: requests for it (and for gpt-4.1-nano) now return 404 "deprecated". Every frame LLM call in detect-cookie-popups.js fails, checkLLM logs the error and returns false, so crawls store llmPopupDetected = false for every frame that the popup shortcut doesn't cover. The two button text verification calls in verification.js fail the same way.

This switches FRAME_LLM_MODEL and the verification calls to the gpt-5.4-nano-2026-03-17 snapshot, which accepts temperature 0 (LLM_TEMPERATURE) and structured output. The popup classifier stays on gpt-4o-mini.

Not in this PR: failed LLM calls are still recorded as false rather than null.

Testing: npm test (lint and unit tests).

🤖 Generated with Claude Code

OpenAI has retired gpt-4.1-nano-2025-04-14, so every frame LLM call and
both button text verification calls now fail. checkLLM logs the error
and returns false, so crawls record no frame LLM detections.

Use the gpt-5.4-nano-2026-03-17 snapshot for the frame classifier and
the verification calls. It accepts temperature 0.

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

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

@muodov
muodov merged commit e7c7fca into main Nov 10, 2026
4 checks passed
@muodov
muodov deleted the claude/gifted-taussig-8a494a branch November 10, 2026 09:59
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