redhat-et / copilot-ops

copilot-ops is a CLI tool that boosts up any DevOps repo to a ninja level of Artificially Intelligent Ops Repo
Apache License 2.0
34 stars 13 forks source link

Reworks the OpenAI client to pass the AI model in the model parameter #82

Closed djach7 closed 2 years ago

djach7 commented 2 years ago

This PR reworks the OpenAI client to pass the AI model in the 'model' parameter of a request, rather than in the URL.

Signed-off-by: djach7 djachimo@redhat.com