Skip to content

Read style LLM credentials from docassemble Configuration - #297

Merged
nonprofittechy merged 1 commit into
mainfrom
fix/style-llm-docassemble-config
Sep 23, 2026
Merged

nonprofittechy merged 1 commit into
mainfrom
fix/style-llm-docassemble-config

Conversation

@nonprofittechy

Copy link
Copy Markdown
Member

dayamlchecker only looks for an API key in its CLI flags or the OPENAI_API_KEY environment variable, so "Style check + AI" reported a missing key on servers configured with an open ai: block or the older openai api key. Resolve key, base URL and model from the Configuration with the same precedence as ALToolbox.llms and pass them through RuntimeOptions.

dayamlchecker only looks for an API key in its CLI flags or the
OPENAI_API_KEY environment variable, so "Style check + AI" reported a
missing key on servers configured with an `open ai:` block or the older
`openai api key`. Resolve key, base URL and model from the Configuration
with the same precedence as ALToolbox.llms and pass them through
RuntimeOptions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nonprofittechy
nonprofittechy merged commit 3a0cc47 into main Sep 23, 2026
6 checks passed
@nonprofittechy
nonprofittechy deleted the fix/style-llm-docassemble-config branch September 23, 2026 20:03
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