Repository navigation
I cant able to use requesty key with the docker command #1940
|
docker run --rm -it this is my command , do I need to use locally with python command instead to change the model |
Replies: 1 comment
|
Two things, and neither needs a local Python install. First, the command is missing the tool: |
Two things, and neither needs a local Python install. First, the command is missing the tool:
--pr_urlon its own fails argument parsing, so appendreview(ordescribe,improve) as the last argument, as the local installation examples show. Second, this fork publishespragent/pr-agent:latest, so use that rather than the oldcodiumaiimage. The environment variables themselves are close to right, sinceOPENAI__KEYandOPENAI__API_BASEare forwarded on every call; if the router expects a namespaced model id, keep theopenai/prefix on it and addconfig.custom_model_max_tokens, which is the pattern documented for the other OpenAI-compatible gateways in the changing-a-model guide. Closing as …