Skip to content
Discussion options

You must be logged in to vote

Two things, and neither needs a local Python install. First, the command is missing the tool: --pr_url on its own fails argument parsing, so append review (or describe, improve) as the last argument, as the local installation examples show. Second, this fork publishes pragent/pr-agent:latest, so use that rather than the old codiumai image. The environment variables themselves are close to right, since OPENAI__KEY and OPENAI__API_BASE are forwarded on every call; if the router expects a namespaced model id, keep the openai/ prefix on it and add config.custom_model_max_tokens, which is the pattern documented for the other OpenAI-compatible gateways in the changing-a-model guide. Closing as …

Replies: 1 comment

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
2 participants