Skip to content

chore(backend): use Claude Opus 5.5 for the regulations differences summary - #37

Merged
lorenzocorallo merged 1 commit into
mainfrom
chore/regulations-llm
Nov 15, 2026
Merged

lorenzocorallo merged 1 commit into
mainfrom
chore/regulations-llm

Conversation

@lorenzocorallo

Copy link
Copy Markdown
Member

Sets REGULATIONS_LLM_PROVIDER: "anthropic" and REGULATIONS_LLM_MODEL: "claude-opus-5-5". The API key is already in kv-pn-apps as regulations-llm-api-key, read through the optional regulations-llm ref from #32. Effort stays at the model default (medium).

The backend makes one structured-output call per send to approval or regeneration (no thinking parameters, no forced tool_choice), so no code change is needed. Estimated cost about $0.15-0.20 per differences summary.

Merging rolls the backend once, which also picks up the key. Telegram chat/topic ids and the final sender stay TODO.

…ummary

The key is in kv-pn-apps (regulations-llm-api-key). One call per send to approval or regeneration,
about $0.15-0.20 each. Telegram ids and the final sender stay TODO.
@coderabbitai

coderabbitai Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

Walkthrough

The backend Deployment now sets REGULATIONS_LLM_PROVIDER to anthropic and REGULATIONS_LLM_MODEL to claude-opus-5-5, replacing the empty values and TODO comments.

Changes

Backend LLM configuration

Layer / File(s) Summary
Set regulations LLM values
apps/backend/deployment.yaml
The backend Deployment sets the regulations LLM provider to anthropic and the model to claude-opus-5-5.

Change: Other

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@lorenzocorallo
lorenzocorallo merged commit ae9a066 into main Nov 15, 2026
1 of 2 checks passed
@lorenzocorallo
lorenzocorallo deleted the chore/regulations-llm branch November 15, 2026 15:00
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