tqer39 / openai-generate-pr-description

MIT License
4 stars 0 forks source link

Add an option to optionally use custom endpoints and custom models for openai #34

Open HomeDev68 opened 1 day ago

HomeDev68 commented 1 day ago

Add an option to optionally use custom endpoints and custom models for openai for when using providers that support openai schema

tqer39 commented 22 hours ago

@HomeDev68 Thank you for contacting us!

I hope to make the following modifications around the weekend.

  1. add an argument to specify the model
  2. fix key name error
    • open-api-key .... .x
    • openai-api-key .... o
HomeDev68 commented 20 hours ago

Could you please add support for custom endpoints/ base url for use with openrouter

tqer39 commented 20 hours ago

@HomeDev68 I'm sorry for being uninformed, but I'm not sure exactly what the advantages are of changing to which API.

Is the purpose of the issue to improve the functionality of automatic PR generation? Or is it completely additional functionality?

HomeDev68 commented 20 hours ago

@HomeDev68 I'm sorry for being uninformed, but I'm not sure exactly what the advantages are of changing to which API.

Is the purpose of the issue to improve the functionality of automatic PR generation? Or is it completely additional functionality?

I mean for users to have a choice to use the models through a cheaper source like Openrouter. It is an additional functionality that will improve it, because I use openai models through openrouter since it is cheaper while some people prefer to use it through openai directly.