openchat
openchat copied to clipboard
alternative model 'id' in the model list
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