{"type":"post","id":"anylanguagemodel-1-4-1-sends-anthropic-and-gemini-3e8e29","slug":"anylanguagemodel-1-4-1-sends-anthropic-and-gemini-3e8e29","title":"AnyLanguageModel 1.4.1 sends Anthropic and Gemini instructions as system prompts and stabilizes OpenAI request encoding","description":"Hugging Face’s AnyLanguageModel 1.4.1 changes where Anthropic and Gemini receive session instructions and makes OpenAI request-body encoding deterministic by sorting keys.","retrieval_nugget":"Hugging Face’s AnyLanguageModel 1.4.1 changes where Anthropic and Gemini receive session instructions and makes OpenAI request-body encoding deterministic by sorting keys. For teams using the library across providers, the update changes instruction semantics and aims to preserve a stable prompt prefix for caching, with a specific Anthropic override rule to retain.","published_at":"2026-11-24","updated_at":"2026-11-24","record_date":"2026-11-24","date_kind":"published_at","topics":["anthropic","gemini"],"entities":["Hugging Face","AnyLanguageModel","Anthropic","Gemini","OpenAI"],"related_patterns":["harness-architecture-outlives-model-choice"],"novelty_label":"new_fact","what_changed":"Version 1.4.1 fixes system-instruction handling for Anthropic and Gemini and stabilizes OpenAI request encoding.","prior_refs":["https://newruntime.com/posts/release-1-1-1-huggingface-anylanguagemodel-80640b/","https://newruntime.com/posts/anylanguagemodel-1-2-0-adds-dynamic-profiles-and-3da9ab/","https://newruntime.com/posts/anylanguagemodel-1-3-0-runs-a-round-of-aa3324/"],"source_url":"https://github.com/huggingface/AnyLanguageModel/releases/tag/1.4.1","source_urls":["https://github.com/huggingface/AnyLanguageModel/releases/tag/1.4.1"],"schema_version":"newruntime-agent-readable-v0.2","stable_id":"post:anylanguagemodel-1-4-1-sends-anthropic-and-gemini-3e8e29","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/anylanguagemodel-1-4-1-sends-anthropic-and-gemini-3e8e29/","markdown":"https://newruntime.com/posts/anylanguagemodel-1-4-1-sends-anthropic-and-gemini-3e8e29.md","json":"https://newruntime.com/posts/anylanguagemodel-1-4-1-sends-anthropic-and-gemini-3e8e29.json"},"markdown_url":"https://newruntime.com/posts/anylanguagemodel-1-4-1-sends-anthropic-and-gemini-3e8e29.md","next_reads":[{"type":"topic","path":"/topics/anthropic/","url":"https://newruntime.com/topics/anthropic/","title":"Anthropic","reason":"Explore the anthropic topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/anthropic.md","json_url":"https://newruntime.com/topics/anthropic.json"},{"type":"topic","path":"/topics/gemini/","url":"https://newruntime.com/topics/gemini/","title":"Gemini","reason":"Explore the gemini topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/gemini.md","json_url":"https://newruntime.com/topics/gemini.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"}]}
