Welcome to the 27 April 2025 release of Gptcmd! This release focuses on improving model handling and compatibility (especially for "OpenAI-like" provider configurations), increasing stability, and refining the user experience.
Important notes
Python 3.7 deprecation
Python 3.7 reached end-of-life on 27 June 2023. This is the final release with 3.7 compatibility. Future releases will require Python 3.8.6 or later.
New features
- Gptcmd can now disambiguate partial model names (for instance, resolving
4o
togpt-4o
if appropriate), simplifying model selection. - Ongoing API requests can now be cancelled by pressing Ctrl+c.
- Added cost estimation support for the
gpt-4.1
model family,o3
, ando4-mini
. LLMProvider
implementations can now opt out of model validation, improving support, for instance, for "OpenAI-like" providers that don't implement a model listing endpoint.- The automatic creation of new named threads by the
retry
command is now configurable via thecreate_new_thread_on_retry
configuration setting (set toask
by default). To restore the previous behaviour, set this option toalways
. - To prevent data loss, Gptcmd now attempts to save messages and some application state to a JSON file in the current directory when an unexpected application failure occurs.
Changes
- On OpenAI accounts,
gpt-4.1
is now used by default if available.
Bug fixes
- Improved handling of edge cases in OpenAI responses, enhancing stability especially when interacting with "OpenAI-like" providers.
- General improvements to stability and performance.