Skip to content

postprocess: Support CRISP_API_MODEL/_KEY/_BASE env var overrides#1853

Merged
thedataking merged 1 commit into
masterfrom
perl/crisp-api-key
Jun 12, 2026
Merged

postprocess: Support CRISP_API_MODEL/_KEY/_BASE env var overrides#1853
thedataking merged 1 commit into
masterfrom
perl/crisp-api-key

Conversation

@thedataking

Copy link
Copy Markdown
Contributor

When CRISP_API_MODEL is set, route through the OpenAI-compatible client using the Tractor-Crisp env vars, overriding CLI model selection.

@Crocodoctopus

Crocodoctopus commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

I can take over this PR if you'd like.

Edit: forgot to submit review, this comment was probably confusing.

Comment thread c2rust-postprocess/postprocess/__init__.py
When CRISP_API_MODEL is set, route through the OpenAI-compatible
client using the Tractor-Crisp env vars, overriding CLI model
selection. This allows using c2rust-postprocess seamlessly with
https://github.com/GaloisInc/Tractor-Crisp.

@Crocodoctopus Crocodoctopus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lg2m

@thedataking thedataking merged commit 4547836 into master Jun 12, 2026
11 checks passed
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