openchat icon indicating copy to clipboard operation
openchat copied to clipboard

alternative model 'id' in the model list

Open IgorBeHolder opened this issue 1 year ago • 0 comments

Hi there,

I used to retrieve the model name from the server as follows: curl -X 'GET' 'http://<openchat_api_server>/v1/models' -H 'accept: application/json'

There are two models in the list:

  • "openchat_v3.2_mistral"
  • "openchat_3.5"

Sometimes "openchat_3.5" is the first [0] in the list and other time - the second element.

How to fix the order of the models, so I always retreive the "openchat_3.5".

Thanks in advance, Igor

IgorBeHolder avatar Jan 09 '24 06:01 IgorBeHolder