Skip to content

Dev#2

Open
Peter2594 wants to merge 20 commits into
ruby0322:devfrom
Peter2594:dev
Open

Dev#2
Peter2594 wants to merge 20 commits into
ruby0322:devfrom
Peter2594:dev

Conversation

@Peter2594

Copy link
Copy Markdown

No description provided.

Peter2594 and others added 20 commits March 9, 2026 16:01
Use require() with type annotation instead of ESM import to work around
type mismatch between @types/pdf-parse v1.1.5 (old API) and pdf-parse
v2.4.5 (class-based API). Jest's SWC transformer loads the CJS export
as the wrapper function from the old API, which is compatible with
@types/pdf-parse declarations.
- Replace @google/generative-ai with @anthropic-ai/sdk
- Rewrite generate route to use claude-opus-4-8 via streaming
- Update extractors.ts to use PDFParse class API (pdf-parse v2.x)
- Update pdf-parse mock to match new class-based API
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.

1 participant