{"type":"post","id":"release-0-38-simonw-llm-github-15b7b2","slug":"release-0-38-simonw-llm-github-15b7b2","title":"Release 0.38: simonw/llm: GitHub","description":"LLM 0.38 adds support for GPT-6.2 Astra and GPT-6.2 Sol, selectable as gpt-6.2-astra and gpt-6.2-sol.","retrieval_nugget":"LLM 0.38 adds support for GPT-6.2 Astra and GPT-6.2 Sol, selectable as gpt-6.2-astra and gpt-6.2-sol.","published_at":"2026-11-27","updated_at":"2026-11-27","record_date":"2026-11-27","date_kind":"published_at","topics":["github"],"entities":["LLM","OpenAI","GPT-6.2 Astra","GPT-6.2 Sol","Simon Willison"],"related_patterns":["hardware-adoption-is-routed-through-familiar-ai-software-stacks"],"novelty_label":"new_fact","what_changed":"LLM 0.38 adds GPT-6.2 Astra and Sol models and speeds up commands that do not call OpenAI by delaying the OpenAI package import.","prior_refs":[],"source_url":"https://github.com/simonw/llm/releases/tag/0.38","source_urls":["https://github.com/simonw/llm/releases/tag/0.38"],"production":{"schema":"newruntime-production-v1","desk":"newsroom","first_seen_at":"2026-11-27T19:21:52.129Z","independent_sources":1,"notes_synthesized":null,"writer_model":"gpt-6-luna","critic":null,"checks":["primary_source_verified","source_fresh","one_story","copy_contract"],"novelty":{"label":"new_fact","confidence":"high"},"editorial_value":"medium","human_review":"selective"},"citations":[{"claim":"","quotes":["LLM 0.38 adds support for GPT-6.2 Astra and GPT-6.2 Sol. Commands that do not call OpenAI, such as llm --version and llm models list, start faster because they no longer import the OpenAI package at startup.","No results found View all tags simonw released this 17 Nov 19:00 0.38 46f0461 New features: New OpenAI models: gpt-6.2-astra and gpt-6.2-sol for GPT-6.2 Astra and Sol ."],"cite_url":"https://github.com/simonw/llm/releases/tag/0.38#:~:text=LLM%200.38%20adds%20support%20for%20GPT%2D6.2%20Astra%20and%20GPT%2D6.2%20Sol.%20Commands%20that%20do%20not%20call%20OpenAI%2C%20such%20as%20llm%20%2D%2Dversion%20and%20llm%20models%20list%2C%20start%20faster%20because%20they%20no%20longer%20import%20the%20OpenAI%20package%20at%20startup.&text=No%20results%20found%20View%20all%20tags%20simonw%20released%20this%2017%20Nov%2019%3A00%200.38%2046f0461%20New%20features%3A%20New%20OpenAI%20models%3A%20gpt%2D6.2%2Dastra%20and%20gpt%2D6.2%2Dsol%20for%20GPT%2D6.2%20Astra%20and%20Sol%20.","source_url":"https://github.com/simonw/llm/releases/tag/0.38","publisher":"github.com"},{"claim":"Async OpenAI models can now run with LLMOPENAISHOWRESPONSES=1; previously, response logging caused prompts to fail before sending a request, and async requests and responses are now logged like synchronous ones.","quotes":["Bug fixes: CLI commands that do not call OpenAI, such as llm --version and llm models list , now start faster because the openai package is only imported when it is first needed."],"cite_url":"https://github.com/simonw/llm/releases/tag/0.38#:~:text=Bug%20fixes%3A%20CLI%20commands%20that%20do%20not%20call%20OpenAI%2C%20such%20as%20llm%20%2D%2Dversion%20and%20llm%20models%20list%20%2C%20now%20start%20faster%20because%20the%20openai%20package%20is%20only%20imported%20when%20it%20is%20first%20needed.","source_url":"https://github.com/simonw/llm/releases/tag/0.38","publisher":"github.com"},{"claim":"","quotes":["#1892 Setting LLM_OPENAI_SHOW_RESPONSES=1 no longer breaks async OpenAI models, such as llm --async .","Previously every prompt failed with an Invalid http_client argument error before any request was sent.","Async requests and responses are now logged in the same way as sync ones."],"cite_url":"https://github.com/simonw/llm/releases/tag/0.38#:~:text=%231892%20Setting%20LLM_OPENAI_SHOW_RESPONSES%3D1%20no%20longer%20breaks%20async%20OpenAI%20models%2C%20such%20as%20llm%20%2D%2Dasync%20.&text=Previously%20every%20prompt%20failed%20with%20an%20Invalid%20http_client%20argument%20error%20before%20any%20request%20was%20sent.&text=Async%20requests%20and%20responses%20are%20now%20logged%20in%20the%20same%20way%20as%20sync%20ones.","source_url":"https://github.com/simonw/llm/releases/tag/0.38","publisher":"github.com"},{"claim":"Templates, -f fragment files and --functions Python files now use UTF-8 with a system-default fallback, avoiding decode errors on systems such as Windows when files contain non-ASCII characters.","quotes":["#1896 Tool schemas now keep title keys that are part of a default , const , enum or examples value.","Previously the cleanup that removes Pydantic's title annotations also removed them from those values, so a tool with a default such as {\"title\": \"A document\"} was described to the model with that key missing."],"cite_url":"https://github.com/simonw/llm/releases/tag/0.38#:~:text=%231896%20Tool%20schemas%20now%20keep%20title%20keys%20that%20are%20part%20of%20a%20default%20%2C%20const%20%2C%20enum%20or%20examples%20value.&text=Previously%20the%20cleanup%20that%20removes%20Pydantic%27s%20title%20annotations%20also%20removed%20them%20from%20those%20values%2C%20so%20a%20tool%20with%20a%20default%20such%20as%20%7B%22title%22%3A%20%22A%20document%22%7D%20was%20described%20to%20the%20model%20with%20that%20key%20missing.","source_url":"https://github.com/simonw/llm/releases/tag/0.38","publisher":"github.com"},{"claim":"","quotes":["#1885 , #1886 Templates, fragment files passed to -f and Python files passed to --functions are now read as UTF-8, falling back to the system default encoding for files that are not valid UTF-8.","Previously, on systems with a different default encoding such as Windows, a file containing non-ASCII characters could cause a UnicodeDecodeError ."],"cite_url":"https://github.com/simonw/llm/releases/tag/0.38#:~:text=%231885%20%2C%20%231886%20Templates%2C%20fragment%20files%20passed%20to%20%2Df%20and%20Python%20files%20passed%20to%20%2D%2Dfunctions%20are%20now%20read%20as%20UTF%2D8%2C%20falling%20back%20to%20the%20system%20default%20encoding%20for%20files%20that%20are%20not%20valid%20UTF%2D8.&text=Previously%2C%20on%20systems%20with%20a%20different%20default%20encoding%20such%20as%20Windows%2C%20a%20file%20containing%20non%2DASCII%20characters%20could%20cause%20a%20UnicodeDecodeError%20.","source_url":"https://github.com/simonw/llm/releases/tag/0.38","publisher":"github.com"},{"claim":"Toolbox subclasses that call super().init() now retain their own constructor arguments, so instances that differ by a subclass argument are logged distinctly.","quotes":["#1893 llm fragments list -q now shows every alias for a matching fragment, not just the alias that matched.","Passing -q more than once with different aliases for the same fragment now returns that fragment, where previously it returned nothing."],"cite_url":"https://github.com/simonw/llm/releases/tag/0.38#:~:text=%231893%20llm%20fragments%20list%20%2Dq%20now%20shows%20every%20alias%20for%20a%20matching%20fragment%2C%20not%20just%20the%20alias%20that%20matched.&text=Passing%20%2Dq%20more%20than%20once%20with%20different%20aliases%20for%20the%20same%20fragment%20now%20returns%20that%20fragment%2C%20where%20previously%20it%20returned%20nothing.","source_url":"https://github.com/simonw/llm/releases/tag/0.38","publisher":"github.com"},{"claim":"","quotes":["#1890 A Toolbox subclass that calls super().init() on another Toolbox with its own init() now records the subclass's constructor arguments.","Previously the parent's arguments replaced them, so instances that differed only in a subclass argument were logged without it and treated as the same toolbox instance."],"cite_url":"https://github.com/simonw/llm/releases/tag/0.38#:~:text=%231890%20A%20Toolbox%20subclass%20that%20calls%20super%28%29.init%28%29%20on%20another%20Toolbox%20with%20its%20own%20init%28%29%20now%20records%20the%20subclass%27s%20constructor%20arguments.&text=Previously%20the%20parent%27s%20arguments%20replaced%20them%2C%20so%20instances%20that%20differed%20only%20in%20a%20subclass%20argument%20were%20logged%20without%20it%20and%20treated%20as%20the%20same%20toolbox%20instance.","source_url":"https://github.com/simonw/llm/releases/tag/0.38","publisher":"github.com"},{"claim":"","quotes":["#1802 Documentation: The setup and plugin installation documentation now warn that uv tool upgrade llm , pipx upgrade llm and brew upgrade llm remove plugins installed using llm install , and recommend llm install -U llm to upgrade while keeping them."],"cite_url":"https://github.com/simonw/llm/releases/tag/0.38#:~:text=%231802%20Documentation%3A%20The%20setup%20and%20plugin%20installation%20documentation%20now%20warn%20that%20uv%20tool%20upgrade%20llm%20%2C%20pipx%20upgrade%20llm%20and%20brew%20upgrade%20llm%20remove%20plugins%20installed%20using%20llm%20install%20%2C%20and%20recommend%20llm%20install%20%2DU%20llm%20to%20upgrade%20while%20keeping%20them.","source_url":"https://github.com/simonw/llm/releases/tag/0.38","publisher":"github.com"}],"schema_version":"newruntime-agent-readable-v0.2","stable_id":"post:release-0-38-simonw-llm-github-15b7b2","status":"published","visuals":[],"editor":{"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]},"routes":{"html":"https://newruntime.com/posts/release-0-38-simonw-llm-github-15b7b2/","markdown":"https://newruntime.com/posts/release-0-38-simonw-llm-github-15b7b2.md","json":"https://newruntime.com/posts/release-0-38-simonw-llm-github-15b7b2.json"},"markdown_url":"https://newruntime.com/posts/release-0-38-simonw-llm-github-15b7b2.md","next_reads":[{"type":"topic","path":"/topics/github/","url":"https://newruntime.com/topics/github/","title":"Github","reason":"Explore the github topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/github.md","json_url":"https://newruntime.com/topics/github.json"},{"type":"collection","path":"/posts/","url":"https://newruntime.com/posts/","title":"Field Notes","reason":"Open the latest editorial analysis.","media_type":"text/html","json_url":"https://newruntime.com/posts.json"},{"type":"collection","path":"/sources/","url":"https://newruntime.com/sources/","title":"Sources","reason":"See the original sources this archive cites.","media_type":"text/html"}]}
