Skip to content

Conversation

Caleb-T-Owens
Copy link
Contributor

@Caleb-T-Owens Caleb-T-Owens commented Sep 12, 2025

This works around anthropics/claude-code#7452 and gets the https://github.com/ericc-ch/copilot-api project working.

It should be noted that we do NOT endorse the copilot-api. We have simply used this to test the generic concept of having a 3rd party provider

Copy link

vercel bot commented Sep 12, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
gitbutler-web Ignored Ignored Preview Sep 12, 2025 2:12pm

@github-actions github-actions bot added rust Pull requests that update Rust code @gitbutler/desktop labels Sep 12, 2025
@Caleb-T-Owens Caleb-T-Owens changed the title Add use configured models switch Work-around settings env issue & support 3rd party providers Sep 12, 2025
This commit implements a workaround for this issue: anthropics/claude-code#7452

In 1.0.111 and 1.0.112, the `env` property doesn’t work when invoking `claude` with `-p`.

This collects all of these and passes them as env-vars which for some reason does work!
@Caleb-T-Owens Caleb-T-Owens force-pushed the add-use-configured-models-switch branch from 27de815 to de93933 Compare September 12, 2025 14:11
@Caleb-T-Owens Caleb-T-Owens merged commit 42d2cea into master Sep 12, 2025
20 checks passed
@Caleb-T-Owens Caleb-T-Owens deleted the add-use-configured-models-switch branch September 12, 2025 14:47
@Byron Byron linked an issue Sep 12, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@gitbutler/desktop rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Claude Code: Let claude code use built in settings
1 participant