szczyglis-dev / py-gpt

Desktop AI Assistant powered by GPT-4, GPT-4 Vision, GPT-3.5, Gemini, Claude, Llama 3, DALL-E, Langchain, Llama-index, chat, vision, voice control, image generation and analysis, agents, code/command execution, file upload/download, speech synthesis and recognition, access to Web, memory, presets, plugins, assistants, and more. Linux, Windows, Mac.
https://pygpt.net
MIT License
544 stars 106 forks source link

[bug] Float inputs behave weirdly #8

Closed moritztim closed 8 months ago

moritztim commented 8 months ago

When trying to enter numbers in the text field for a float value, such as Settings>Models>Temperature it behaves weirdly, always keeping 0.0 and only letting you add numbers after 0.0.

szczyglis-dev commented 8 months ago

Yes, I'm aware of that issue. The strange behavior is due to the real-time updating of the slider widget value that's linked with the input. I'll have to solve it differently - by updating the slider value only after the input loses focus, so that it updates only after the entire value has been entered. This will be fixed in one of the upcoming releases.

szczyglis-dev commented 8 months ago

Fixed in release: 2.0.109