Skip to content

chore(demo-web): refresh demo LLM model defaults#99

Merged
kimhongyeon merged 2 commits into
mainfrom
chore/update-engine-demo-models
Jun 8, 2026
Merged

chore(demo-web): refresh demo LLM model defaults#99
kimhongyeon merged 2 commits into
mainfrom
chore/update-engine-demo-models

Conversation

@kimhongyeon

Copy link
Copy Markdown
Member

Affected Package(s)

  • @heripo/pdf-parser
  • @heripo/document-processor
  • @heripo/model
  • @heripo/logger
  • @heripo/shared (internal)
  • demo-web
  • docs
  • Other (root configs, CI, etc.)

Summary

Refresh the demo upload defaults so local LM Studio models handle more of the PDF processing workflow while smaller cloud models remain available where appropriate. This also keeps the model selector and cost estimator aligned with the newer model IDs used by the demo configuration.

Changes

  • Added openai/gpt-5.5 to LLM_MODELS and MODEL_PRICING.
  • Updated Claude and Gemini model IDs in llm-models.ts and model-pricing.ts.
  • Changed DEFAULT_FORM_VALUES to use LM Studio Gemma models for language detection, page range parsing, TOC extraction, captions, page gates, and review assistance tasks.
  • Switched validation and fallback defaults to openai/gpt-5.4-mini.
  • Updated fallback and task-specific correction models to better match the current demo processing setup.

Breaking Changes

  • None
  • If any, describe migration steps:

Checklist

  • I followed the Code of Conduct (see CODE_OF_CONDUCT.md)
  • I ran: pnpm lint pnpm typecheck pnpm build pnpm test
  • Tests added/updated; coverage remains 100%
  • Docs/README updated if needed
  • No external side effects (network/file/process/time) in tests — use mocks

Related Issues

Closes #

- Replace multiple model references, including adopting `openai/gpt-5.4-mini`, `google/gemini-3.5-flash`, and `anthropic/claude-opus-4-8`.
- Add support for `openai/gpt-5.5` in constants and pricing definitions.
- Adjust model pricing and integrate new models into the cost calculation.
@kimhongyeon kimhongyeon self-assigned this Jun 8, 2026
@kimhongyeon kimhongyeon merged commit 1e11a6c into main Jun 8, 2026
1 check passed
@kimhongyeon kimhongyeon deleted the chore/update-engine-demo-models branch June 8, 2026 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant