axonivy-market / openai-connector

Apache License 2.0
1 stars 0 forks source link

edit(beta) functionality no longer working: due to deprecated model #49

Open ivy-rew opened 5 months ago

ivy-rew commented 5 months ago

Similar problem as with #42 deprecated-edit

{
  "error" : {
    "message" : "The model `code-davinci-edit-001` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations",
    "type" : "invalid_request_error",
    "param" : null,
    "code" : "model_not_found"
  }
}

I think the idea of the 'beta' editing was to allow prompts with other models than davinci-3.5. Since #42, this is no longer necessary, as the model is selectable for the user. I'd drop that feature ... or allow a "seconary-model" selection, which is in charge when running the "edit" prompt.

ivy-rew commented 4 months ago

fyi @ivy-sgi