Skip to content
Discussion options

You must be logged in to vote

The CLI does not search the working directory. Settings files are resolved relative to the installed package, so under pipx or uv they must sit in <venv>/lib/python3.x/site-packages/pr_agent/settings/, which is why copies elsewhere were ignored. For an isolated install the supported route is to keep your own TOML anywhere and pass --extra_config_url=/path/to/your.toml (or set PR_AGENT_EXTRA_CONFIG_URL); it accepts a bare filesystem path as well as http and file URLs, and is merged beneath the repo config. Secrets are better supplied as environment variables using the <TABLE>__<KEY> convention, for example OPENAI__KEY and GITHUB__USER_TOKEN, which is the same mechanism your working Docker …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by IsmaelMartinez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants