While work has been done on the chatbot since I complained about it, this bug has still not been removed. Run the code below, and you will see a blank line corresponding to the gemini model in the list shown by the listpicker of the the list of models.
Probably because the List item being polled for model has been retired and shows as an empty value( see the red pointer).
You are using the default model you selected in properties of the Chatbot control and when you use default You cannot select a different model anyway to use the free tokens that MIT pays for.
I wish to let the user select whichever model she likes, hence the list picker. Chatbot.GetModels returns a list of models, but when you assign it to the Elements property of a listpicker, and open it, one item shows as blank. It should say gemini. The other items in the list are fine, there is only this one that misbehaves. That is why I think this is a bug.
Hi @Arun_Mehta I’ve tried your code and all gemini models in the list picker show in the screen title after being selected. I’ve tried on iOS, latest testflight version. Can you provide any more details?
I think there was a historical reason for this, but that either has been lost or there has been drift. Typically, the "default" value of a property is the empty string. However, the default has moved over time and now is Claude Haiku rather than Gemini, so I'm not sure that the server is correct in returning an empty string for Gemini. @jis you may need to take a look at the server logic and decide whether this is still needed.