{"serveDecision":{"state":"UNKNOWN","authority":"live-serve-decision"},"downloadable":null,"downloadReady":null,"degraded":false,"stale":false,"schemaVersion":"hugging-bay.local-kit.v2","displayOnly":true,"authorizationRequired":true,"eligibilitySnapshotAt":"2026-11-02T03:52:13.239Z","generatedAt":"2026-11-02T03:54:35.872Z","status":"runnable-bundle-recipe","commandsAvailable":true,"commands":[{"tool":"lm-studio","label":"LM Studio (no terminal)","kind":"gui-walkthrough","guiProven":false,"command":"Open LM Studio, then drag the downloaded 'MiMo-Ornith-9B-AGSI.Q4_K_M.gguf' into My Models to load it.","note":"A walk-through for your machine, not a checked run path — these steps are guidance, never a promise it will run. LM Studio's own UI takes it from there.","prefilledFrom":{"file":"MiMo-Ornith-9B-AGSI.Q4_K_M.gguf","templateSha256":"a3d170d8b4fb0e14255cf9bb7fb41765097336ba5bad698904aaf419f919ded9","sha256":"18585d2aa5382b69f2f0f3f27421bf895fafe1a6c552536f5781338c99fe42fd"},"guideCheckedAt":"2026-09-22","guideCheckedBy":"hugging-bay-docs","guideVersion":5},{"tool":"ollama","label":"Ollama","note":"Builds a local Ollama model named \"mimo-ornith-9b-agsi.q4_k_m\" from the file (Ollama imports the file's embedded chat template) and starts a chat.","prefilledFrom":{"file":"MiMo-Ornith-9B-AGSI.Q4_K_M.gguf","templateSha256":"a3d170d8b4fb0e14255cf9bb7fb41765097336ba5bad698904aaf419f919ded9","sha256":"18585d2aa5382b69f2f0f3f27421bf895fafe1a6c552536f5781338c99fe42fd"},"guideCheckedAt":"2026-09-22","guideCheckedBy":"hugging-bay-docs","guideVersion":5},{"tool":"llama.cpp","label":"llama.cpp (terminal)","kind":"terminal","proven":true,"note":"Runs the file directly with llama.cpp's command-line tool. -st (--single-turn) runs one turn with the model's embedded chat template and exits — tested on llama.cpp b10964-b29c606e2. The old -no-cnv flag was removed and is rejected by current builds.","runner":{"name":"llama.cpp","testedBuild":"b10964-b29c606e2","singleTurnFlag":"-st"},"prefilledFrom":{"file":"MiMo-Ornith-9B-AGSI.Q4_K_M.gguf","templateSha256":"a3d170d8b4fb0e14255cf9bb7fb41765097336ba5bad698904aaf419f919ded9","sha256":"18585d2aa5382b69f2f0f3f27421bf895fafe1a6c552536f5781338c99fe42fd"},"guideCheckedAt":"2026-09-22","guideCheckedBy":"hugging-bay-docs","guideVersion":5},{"tool":"python","label":"Python (llama-cpp-python)","command":"pip install llama-cpp-python && python -c 'from llama_cpp import Llama; llm = Llama(\"./MiMo-Ornith-9B-AGSI.Q4_K_M.gguf\", n_ctx=8192); print(llm.create_chat_completion(messages=[{'\\''role'\\'': '\\''user'\\'', '\\''content'\\'': '\\''Hello!'\\''}])['\\''choices'\\''][0]['\\''message'\\'']['\\''content'\\''])'","note":"For scripting the model from Python; create_chat_completion applies the embedded chat template.","prefilledFrom":{"file":"MiMo-Ornith-9B-AGSI.Q4_K_M.gguf","templateSha256":"a3d170d8b4fb0e14255cf9bb7fb41765097336ba5bad698904aaf419f919ded9","sha256":"18585d2aa5382b69f2f0f3f27421bf895fafe1a6c552536f5781338c99fe42fd"},"guideCheckedAt":"2026-09-22","guideCheckedBy":"hugging-bay-docs","guideVersion":5}],"runBlockKind":"hosted-file-recipe","chatContract":{"available":true,"source":"gguf-metadata:tokenizer.chat_template","sourceFileSha256":"18585d2aa5382b69f2f0f3f27421bf895fafe1a6c552536f5781338c99fe42fd","templateSha256":"a3d170d8b4fb0e14255cf9bb7fb41765097336ba5bad698904aaf419f919ded9","templateText":"{%- set image_count = namespace(value=0) %}\n{%- set video_count = namespace(value=0) %}\n{%- macro render_content(content, do_vision_count, is_system_content=false) %}\n  {%- if content is string %}\n    {{- content }}\n  {%- elif content is iterable and content is not mapping %}\n    {%- for item in content %}\n      {%- if item is not mapping %}\n        {{- item }}\n      {%- elif 'image' in item or 'image_url' in item or item.type == 'image' %}\n        {%- if is_system_content %}\n          {{- raise_exception('System message cannot contain images.') }}\n        {%- endif %}\n        {%- if do_vision_count %}\n          {%- set image_count.value = image_count.value + 1 %}\n        {%- endif %}\n        {%- if add_vision_id is defined and add_vision_id %}\n          {{- 'Picture ' ~ image_count.value ~ ': ' }}\n        {%- endif %}\n        {{- '<|vision_start|><|image_pad|><|vision_end|>' }}\n      {%- elif 'video' in item or item.type == 'video' %}\n        {%- if is_system_content %}\n          {{- raise_exception('System message cannot contain videos.') }}\n        {%- endif %}\n        {%- if do_vision_count %}\n          {%- set video_count.value = video_count.value + 1 %}\n        {%- endif %}\n        {%- if add_vision_id is defined and add_vision_id %}\n          {{- 'Video ' ~ video_count.value ~ ': ' }}\n        {%- endif %}\n        {{- '<|vision_start|><|video_pad|><|vision_end|>' }}\n      {%- elif 'audio' in item or 'audio_url' in item or item.type in ['audio', 'input_audio'] %}\n        {%- if is_system_content %}\n          {{- raise_exception('System message cannot contain audio.') }}\n        {%- endif %}\n        {{- '<|audio_start|><|audio_pad|><|audio_end|>' }}\n      {%- elif 'text' in item %}\n        {{- item.text }}\n      {%- else %}\n        {{- raise_exception('Unexpected item type in content.') }}\n      {%- endif %}\n    {%- endfor %}\n  {%- elif content is none or content is undefined %}\n    {{- '' }}\n  {%- else %}\n    {{- raise_exception('Unexpected content type.') }}\n  {%- endif %}\n{%- endmacro %}\n\n{%- if not messages %}\n  {{- raise_exception('No messages provided.') }}\n{%- endif %}\n\n{# --- 1. REASONING EFFORT RESOLUTION & PRESERVE-THINKING DISCOVERY --- #}\n{%- if preserve_reasoning is defined and preserve_reasoning is not none %}\n  {%- set _preserve_thinking = preserve_reasoning %}\n{%- elif preserve_thinking is defined and preserve_thinking is not none %}\n  {%- set _preserve_thinking = preserve_thinking %}\n{%- else %}\n  {%- set _preserve_thinking = true %}\n{%- endif %}\n\n{%- set _raw_effort = (reasoning_effort | string | lower) if reasoning_effort is defined and reasoning_effort is not none else ((thinking_effort | string | lower) if thinking_effort is defined and thinking_effort is not none else 'medium') %}\n{%- set _enable_thinking = true %}\n{%- if enable_thinking is defined and enable_thinking is false %}\n  {%- set _enable_thinking = false %}\n{%- elif _raw_effort in ['none', 'off', 'false', '0'] %}\n  {%- set _enable_thinking = false %}\n{%- endif %}\n\n{%- set _resolved_effort = 'medium' %}\n{%- if _raw_effort in ['minimal', 'min', 'low', '1'] %}\n  {%- set _resolved_effort = 'low' %}\n{%- elif _raw_effort in ['high', '3'] %}\n  {%- set _resolved_effort = 'high' %}\n{%- elif _raw_effort in ['xhigh', 'max', 'extreme', 'ultracode', '4'] %}\n  {%- set _resolved_effort = 'xhigh' %}\n{%- endif %}\n\n{%- set _effort_prompt = '' %}\n{%- if _enable_thinking %}\n  {%- if _resolved_effort == 'low' %}\n    {%- set _effort_prompt = 'Reasoning effort is set to low. Keep your thinking concise, efficient, and direct to the point.' %}\n  {%- elif _resolved_effort == 'high' %}\n    {%- set _effort_prompt = 'Reasoning effort is set to high. Think thoroughly through all steps, verify logic, and test potential edge cases.' %}\n  {%- elif _resolved_effort == 'xhigh' %}\n    {%- set _effort_prompt = 'Reasoning effort is set to xhigh. Please think exhaustively through the task, systematically exploring alternative hypotheses and proving edge cases before answering.' %}\n  {%- endif %}\n{%- endif %}\n\n{# --- 2. SYSTEM PROMPT & TOOL DECLARATIONS --- #}\n{%- set _has_tools = (tools and tools is iterable and tools is not mapping) %}\n{%- if _has_tools %}\n  {{- '<|im_start|>system\\n' }}\n  {{- \"# Tools\\n\\nYou have access to the following functions:\\n\\n<tools>\" }}\n  {%- for tool in tools %}\n    {{- \"\\n\" }}\n    {{- tool | tojson }}\n  {%- endfor %}\n  {{- \"\\n</tools>\" }}\n  {{- '\\n\\nIf you choose to call a function ONLY reply in the following format with NO suffix:\\n\\n<tool_call>\\n<function=example_function_name>\\n<parameter=example_parameter_1>\\nvalue_1\\n</parameter>\\n<parameter=example_parameter_2>\\nThis is the value for the second parameter\\nthat can span\\nmultiple lines\\n</parameter>\\n</function>\\n</tool_call>\\n\\n<IMPORTANT>\\nReminder:\\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\\n- Required parameters MUST be specified\\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\\n</IMPORTANT>' }}\n  {%- if messages[0].role == 'system' %}\n    {%- set content = render_content(messages[0].content, false, true)|trim %}\n    {%- if content %}\n      {{- '\\n\\n' + content }}\n    {%- endif %}\n  {%- endif %}\n  {%- if _effort_prompt %}\n    {{- '\\n\\n' + _effort_prompt }}\n  {%- endif %}\n  {{- '<|im_end|>\\n' }}\n{%- else %}\n  {%- if messages[0].role == 'system' %}\n    {%- set content = render_content(messages[0].content, false, true)|trim %}\n    {%- if _effort_prompt %}\n      {%- set content = content + ('\\n\\n' + _effort_prompt if content else _effort_prompt) %}\n    {%- endif %}\n    {{- '<|im_start|>system\\n' + content + '<|im_end|>\\n' }}\n  {%- elif _effort_prompt %}\n    {{- '<|im_start|>system\\n' + _effort_prompt + '<|im_end|>\\n' }}\n  {%- endif %}\n{%- endif %}\n\n{# --- 3. MULTI-TURN MESSAGE EXTRACTION & REASONING PRESERVATION --- #}\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\n{%- for message in messages[::-1] %}\n  {%- set index = (messages|length - 1) - loop.index0 %}\n  {%- if ns.multi_step_tool and message.role == \"user\" %}\n    {%- set content = render_content(message.content, false)|trim %}\n    {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}\n      {%- set ns.multi_step_tool = false %}\n      {%- set ns.last_query_index = index %}\n    {%- endif %}\n  {%- endif %}\n{%- endfor %}\n{%- if ns.multi_step_tool %}\n  {{- raise_exception('No user query found in messages.') }}\n{%- endif %}\n\n{%- for message in messages %}\n  {%- set content = render_content(message.content, true)|trim %}\n  {%- if message.role == \"system\" %}\n    {%- if not loop.first %}\n      {{- raise_exception('System message must be at the beginning.') }}\n    {%- endif %}\n  {%- elif message.role == \"user\" %}\n    {{- '<|im_start|>' + message.role + '\\n' + content + '<|im_end|>\\n' }}\n  {%- elif message.role == \"assistant\" %}\n    {%- set reasoning_content = '' %}\n    {%- if message.reasoning_content is string %}\n      {%- set reasoning_content = message.reasoning_content %}\n    {%- else %}\n      {%- if '</think>' in content %}\n        {%- set reasoning_content = content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\n        {%- set content = content.split('</think>')[-1].lstrip('\\n') %}\n      {%- endif %}\n    {%- endif %}\n    {%- set reasoning_content = reasoning_content|trim %}\n    \n    {# Honor preserve_thinking: keep prior thoughts if true, strip older thoughts if false #}\n    {%- if _preserve_thinking or loop.index0 > ns.last_query_index %}\n      {%- if reasoning_content %}\n        {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content + '\\n</think>\\n\\n' + content }}\n      {%- else %}\n        {{- '<|im_start|>' + message.role + '\\n' + content }}\n      {%- endif %}\n    {%- else %}\n      {{- '<|im_start|>' + message.role + '\\n' + content }}\n    {%- endif %}\n\n    {# Function call serialization #}\n    {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}\n      {%- for tool_call in message.tool_calls %}\n        {%- if tool_call.function is defined %}\n          {%- set tool_call = tool_call.function %}\n        {%- endif %}\n        {%- if loop.first %}\n          {%- if content|trim %}\n            {{- '\\n\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n          {%- else %}\n            {{- '<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n          {%- endif %}\n        {%- else %}\n          {{- '\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n        {%- endif %}\n        {%- if tool_call.arguments is defined %}\n          {%- for args_name, args_value in tool_call.arguments|items %}\n            {{- '<parameter=' + args_name + '>\\n' }}\n            {%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %}\n            {{- args_value }}\n            {{- '\\n</parameter>\\n' }}\n          {%- endfor %}\n        {%- endif %}\n        {{- '</function>\\n</tool_call>' }}\n      {%- endfor %}\n    {%- endif %}\n    {{- '<|im_end|>\\n' }}\n  {%- elif message.role == \"tool\" %}\n    {%- if loop.previtem and loop.previtem.role != \"tool\" %}\n      {{- '<|im_start|>user' }}\n    {%- endif %}\n    {{- '\\n<tool_response>\\n' }}\n    {{- content }}\n    {{- '\\n</tool_response>' }}\n    {%- if not loop.last and loop.nextitem.role != \"tool\" %}\n      {{- '<|im_end|>\\n' }}\n    {%- elif loop.last %}\n      {{- '<|im_end|>\\n' }}\n    {%- endif %}\n  {%- else %}\n    {{- raise_exception('Unexpected message role: ' ~ message.role) }}\n  {%- endif %}\n{%- endfor %}\n\n{# --- 4. GENERATION PROMPT PREFILL --- #}\n{%- if add_generation_prompt %}\n  {{- '<|im_start|>assistant\\n' }}\n  {%- if not _enable_thinking %}\n    {{- '<think>\\n\\n</think>\\n\\n' }}\n  {%- else %}\n    {{- '<think>\\n' }}\n  {%- endif %}\n{%- endif %}","extractedAt":"2026-10-16","extractionStage":"ingest.template-extract/v1","architecture":"qwen35","contextLength":262144,"stop":["<|im_end|>"],"thinking":{"mode":"delimited","open":"<think>","close":"</think>"}},"artifact":{"id":"hf-model-mradermacher-mimo-ornith-9b-agsi-gguf","repo":"mradermacher/MiMo-Ornith-9B-AGSI-GGUF","type":"llm","summary":"Model from Hugging Face for llm: mradermacher/MiMo-Ornith-9B-AGSI-GGUF · transformers","license":"apache-2.0","hostingStatus":"hosted","hostedFileCount":1,"hostedFileCountAuthority":"live-serve-decision","displayFileCount":1,"fileCount":14,"upstreamUrl":"https://huggingface.co/mradermacher/MiMo-Ornith-9B-AGSI-GGUF"},"tool":"any","toolCompatibility":{"status":"unknown","reason":"recorded-evaluator-not-integrated"},"readiness":"unknown","requiredFiles":[{"path":".gitattributes","sizeBytes":2326,"sha256":"","format":"gitattributes","risk":"low","sourceKind":"external-hf","hosted":false,"readiness":"blocked","downloadReady":false,"reasonCodes":["NOT_SERVE_ELIGIBLE"],"reason":"This file is not available to download right now.","individuallyHashed":false,"fileOnly":true,"directDownloadAuthorized":false,"serveDecision":{"state":"BLOCKED","reasonCodes":["NOT_SERVE_ELIGIBLE"]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":null,"chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":false,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-mradermacher-mimo-ornith-9b-agsi-gguf"},"signature_state":"unsigned"},{"path":"MiMo-Ornith-9B-AGSI.IQ4_XS.gguf","sizeBytes":5357878432,"sha256":"25905e54b1449da97e3a3e6169524cdbfa9fe94de49009f2621f91614b073471","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":false,"readiness":"blocked","downloadReady":false,"reasonCodes":["NOT_SERVE_ELIGIBLE"],"reason":"This file is not available to download right now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":false,"serveDecision":{"state":"BLOCKED","reasonCodes":["NOT_SERVE_ELIGIBLE"]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":null,"chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":false,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-mradermacher-mimo-ornith-9b-agsi-gguf"},"signature_state":"unsigned"},{"path":"MiMo-Ornith-9B-AGSI.Q2_K.gguf","sizeBytes":3914972320,"sha256":"fd7d5e4129086106c58693698c92aff996e7e482fdab26701190e72d35f2bdb0","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":false,"readiness":"blocked","downloadReady":false,"reasonCodes":["NOT_SERVE_ELIGIBLE"],"reason":"This file is not available to download right now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":false,"serveDecision":{"state":"BLOCKED","reasonCodes":["NOT_SERVE_ELIGIBLE"]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":null,"chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":false,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-mradermacher-mimo-ornith-9b-agsi-gguf"},"signature_state":"unsigned"},{"path":"MiMo-Ornith-9B-AGSI.Q3_K_L.gguf","sizeBytes":5048515744,"sha256":"19d09accf948ad8f549f9147f4bb880ddf846e5c6ee779e98d0ee1f9c2993d61","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":false,"readiness":"blocked","downloadReady":false,"reasonCodes":["NOT_SERVE_ELIGIBLE"],"reason":"This file is not available to download right now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":false,"serveDecision":{"state":"BLOCKED","reasonCodes":["NOT_SERVE_ELIGIBLE"]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":null,"chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":false,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-mradermacher-mimo-ornith-9b-agsi-gguf"},"signature_state":"unsigned"},{"path":"MiMo-Ornith-9B-AGSI.Q3_K_M.gguf","sizeBytes":4737612960,"sha256":"8b25956f24a2d51214845a1f4562bd2187de90b69cda8a2a65b3940d49e9e1cd","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":false,"readiness":"blocked","downloadReady":false,"reasonCodes":["NOT_SERVE_ELIGIBLE"],"reason":"This file is not available to download right now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":false,"serveDecision":{"state":"BLOCKED","reasonCodes":["NOT_SERVE_ELIGIBLE"]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":null,"chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":false,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-mradermacher-mimo-ornith-9b-agsi-gguf"},"signature_state":"unsigned"},{"path":"MiMo-Ornith-9B-AGSI.Q3_K_S.gguf","sizeBytes":4364024992,"sha256":"a67e1bbff0a67c954d09671c13d153880312797f1fe12d72bf66f12ddbc5ede3","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":false,"readiness":"blocked","downloadReady":false,"reasonCodes":["NOT_SERVE_ELIGIBLE"],"reason":"This file is not available to download right now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":false,"serveDecision":{"state":"BLOCKED","reasonCodes":["NOT_SERVE_ELIGIBLE"]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":null,"chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":false,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-mradermacher-mimo-ornith-9b-agsi-gguf"},"signature_state":"unsigned"},{"path":"MiMo-Ornith-9B-AGSI.Q4_K_M.gguf","sizeBytes":5780094112,"sha256":"18585d2aa5382b69f2f0f3f27421bf895fafe1a6c552536f5781338c99fe42fd","format":"gguf","risk":"low","sourceKind":"mirrored-upstream","hosted":true,"readiness":"unknown","downloadReady":null,"reasonCodes":[],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":true,"serveDecision":{"state":"UNKNOWN","reasonCodes":[]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-mradermacher-mimo-ornith-9b-agsi-gguf/MiMo-Ornith-9B-AGSI.Q4_K_M.gguf","chatTemplate":{"artifactId":"hf-model-mradermacher-mimo-ornith-9b-agsi-gguf","filePath":"MiMo-Ornith-9B-AGSI.Q4_K_M.gguf","sha256":"18585d2aa5382b69f2f0f3f27421bf895fafe1a6c552536f5781338c99fe42fd","architecture":"qwen35","generalName":"MiMo Ornith 9B AGSI","tokenizerModel":"gpt2","contextLength":262144,"bos":null,"eos":"<|im_end|>","stop":["<|im_end|>"],"thinking":{"mode":"delimited","open":"<think>","close":"</think>"},"chatTemplate":"{%- set image_count = namespace(value=0) %}\n{%- set video_count = namespace(value=0) %}\n{%- macro render_content(content, do_vision_count, is_system_content=false) %}\n  {%- if content is string %}\n    {{- content }}\n  {%- elif content is iterable and content is not mapping %}\n    {%- for item in content %}\n      {%- if item is not mapping %}\n        {{- item }}\n      {%- elif 'image' in item or 'image_url' in item or item.type == 'image' %}\n        {%- if is_system_content %}\n          {{- raise_exception('System message cannot contain images.') }}\n        {%- endif %}\n        {%- if do_vision_count %}\n          {%- set image_count.value = image_count.value + 1 %}\n        {%- endif %}\n        {%- if add_vision_id is defined and add_vision_id %}\n          {{- 'Picture ' ~ image_count.value ~ ': ' }}\n        {%- endif %}\n        {{- '<|vision_start|><|image_pad|><|vision_end|>' }}\n      {%- elif 'video' in item or item.type == 'video' %}\n        {%- if is_system_content %}\n          {{- raise_exception('System message cannot contain videos.') }}\n        {%- endif %}\n        {%- if do_vision_count %}\n          {%- set video_count.value = video_count.value + 1 %}\n        {%- endif %}\n        {%- if add_vision_id is defined and add_vision_id %}\n          {{- 'Video ' ~ video_count.value ~ ': ' }}\n        {%- endif %}\n        {{- '<|vision_start|><|video_pad|><|vision_end|>' }}\n      {%- elif 'audio' in item or 'audio_url' in item or item.type in ['audio', 'input_audio'] %}\n        {%- if is_system_content %}\n          {{- raise_exception('System message cannot contain audio.') }}\n        {%- endif %}\n        {{- '<|audio_start|><|audio_pad|><|audio_end|>' }}\n      {%- elif 'text' in item %}\n        {{- item.text }}\n      {%- else %}\n        {{- raise_exception('Unexpected item type in content.') }}\n      {%- endif %}\n    {%- endfor %}\n  {%- elif content is none or content is undefined %}\n    {{- '' }}\n  {%- else %}\n    {{- raise_exception('Unexpected content type.') }}\n  {%- endif %}\n{%- endmacro %}\n\n{%- if not messages %}\n  {{- raise_exception('No messages provided.') }}\n{%- endif %}\n\n{# --- 1. REASONING EFFORT RESOLUTION & PRESERVE-THINKING DISCOVERY --- #}\n{%- if preserve_reasoning is defined and preserve_reasoning is not none %}\n  {%- set _preserve_thinking = preserve_reasoning %}\n{%- elif preserve_thinking is defined and preserve_thinking is not none %}\n  {%- set _preserve_thinking = preserve_thinking %}\n{%- else %}\n  {%- set _preserve_thinking = true %}\n{%- endif %}\n\n{%- set _raw_effort = (reasoning_effort | string | lower) if reasoning_effort is defined and reasoning_effort is not none else ((thinking_effort | string | lower) if thinking_effort is defined and thinking_effort is not none else 'medium') %}\n{%- set _enable_thinking = true %}\n{%- if enable_thinking is defined and enable_thinking is false %}\n  {%- set _enable_thinking = false %}\n{%- elif _raw_effort in ['none', 'off', 'false', '0'] %}\n  {%- set _enable_thinking = false %}\n{%- endif %}\n\n{%- set _resolved_effort = 'medium' %}\n{%- if _raw_effort in ['minimal', 'min', 'low', '1'] %}\n  {%- set _resolved_effort = 'low' %}\n{%- elif _raw_effort in ['high', '3'] %}\n  {%- set _resolved_effort = 'high' %}\n{%- elif _raw_effort in ['xhigh', 'max', 'extreme', 'ultracode', '4'] %}\n  {%- set _resolved_effort = 'xhigh' %}\n{%- endif %}\n\n{%- set _effort_prompt = '' %}\n{%- if _enable_thinking %}\n  {%- if _resolved_effort == 'low' %}\n    {%- set _effort_prompt = 'Reasoning effort is set to low. Keep your thinking concise, efficient, and direct to the point.' %}\n  {%- elif _resolved_effort == 'high' %}\n    {%- set _effort_prompt = 'Reasoning effort is set to high. Think thoroughly through all steps, verify logic, and test potential edge cases.' %}\n  {%- elif _resolved_effort == 'xhigh' %}\n    {%- set _effort_prompt = 'Reasoning effort is set to xhigh. Please think exhaustively through the task, systematically exploring alternative hypotheses and proving edge cases before answering.' %}\n  {%- endif %}\n{%- endif %}\n\n{# --- 2. SYSTEM PROMPT & TOOL DECLARATIONS --- #}\n{%- set _has_tools = (tools and tools is iterable and tools is not mapping) %}\n{%- if _has_tools %}\n  {{- '<|im_start|>system\\n' }}\n  {{- \"# Tools\\n\\nYou have access to the following functions:\\n\\n<tools>\" }}\n  {%- for tool in tools %}\n    {{- \"\\n\" }}\n    {{- tool | tojson }}\n  {%- endfor %}\n  {{- \"\\n</tools>\" }}\n  {{- '\\n\\nIf you choose to call a function ONLY reply in the following format with NO suffix:\\n\\n<tool_call>\\n<function=example_function_name>\\n<parameter=example_parameter_1>\\nvalue_1\\n</parameter>\\n<parameter=example_parameter_2>\\nThis is the value for the second parameter\\nthat can span\\nmultiple lines\\n</parameter>\\n</function>\\n</tool_call>\\n\\n<IMPORTANT>\\nReminder:\\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\\n- Required parameters MUST be specified\\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\\n</IMPORTANT>' }}\n  {%- if messages[0].role == 'system' %}\n    {%- set content = render_content(messages[0].content, false, true)|trim %}\n    {%- if content %}\n      {{- '\\n\\n' + content }}\n    {%- endif %}\n  {%- endif %}\n  {%- if _effort_prompt %}\n    {{- '\\n\\n' + _effort_prompt }}\n  {%- endif %}\n  {{- '<|im_end|>\\n' }}\n{%- else %}\n  {%- if messages[0].role == 'system' %}\n    {%- set content = render_content(messages[0].content, false, true)|trim %}\n    {%- if _effort_prompt %}\n      {%- set content = content + ('\\n\\n' + _effort_prompt if content else _effort_prompt) %}\n    {%- endif %}\n    {{- '<|im_start|>system\\n' + content + '<|im_end|>\\n' }}\n  {%- elif _effort_prompt %}\n    {{- '<|im_start|>system\\n' + _effort_prompt + '<|im_end|>\\n' }}\n  {%- endif %}\n{%- endif %}\n\n{# --- 3. MULTI-TURN MESSAGE EXTRACTION & REASONING PRESERVATION --- #}\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\n{%- for message in messages[::-1] %}\n  {%- set index = (messages|length - 1) - loop.index0 %}\n  {%- if ns.multi_step_tool and message.role == \"user\" %}\n    {%- set content = render_content(message.content, false)|trim %}\n    {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}\n      {%- set ns.multi_step_tool = false %}\n      {%- set ns.last_query_index = index %}\n    {%- endif %}\n  {%- endif %}\n{%- endfor %}\n{%- if ns.multi_step_tool %}\n  {{- raise_exception('No user query found in messages.') }}\n{%- endif %}\n\n{%- for message in messages %}\n  {%- set content = render_content(message.content, true)|trim %}\n  {%- if message.role == \"system\" %}\n    {%- if not loop.first %}\n      {{- raise_exception('System message must be at the beginning.') }}\n    {%- endif %}\n  {%- elif message.role == \"user\" %}\n    {{- '<|im_start|>' + message.role + '\\n' + content + '<|im_end|>\\n' }}\n  {%- elif message.role == \"assistant\" %}\n    {%- set reasoning_content = '' %}\n    {%- if message.reasoning_content is string %}\n      {%- set reasoning_content = message.reasoning_content %}\n    {%- else %}\n      {%- if '</think>' in content %}\n        {%- set reasoning_content = content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\n        {%- set content = content.split('</think>')[-1].lstrip('\\n') %}\n      {%- endif %}\n    {%- endif %}\n    {%- set reasoning_content = reasoning_content|trim %}\n    \n    {# Honor preserve_thinking: keep prior thoughts if true, strip older thoughts if false #}\n    {%- if _preserve_thinking or loop.index0 > ns.last_query_index %}\n      {%- if reasoning_content %}\n        {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content + '\\n</think>\\n\\n' + content }}\n      {%- else %}\n        {{- '<|im_start|>' + message.role + '\\n' + content }}\n      {%- endif %}\n    {%- else %}\n      {{- '<|im_start|>' + message.role + '\\n' + content }}\n    {%- endif %}\n\n    {# Function call serialization #}\n    {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}\n      {%- for tool_call in message.tool_calls %}\n        {%- if tool_call.function is defined %}\n          {%- set tool_call = tool_call.function %}\n        {%- endif %}\n        {%- if loop.first %}\n          {%- if content|trim %}\n            {{- '\\n\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n          {%- else %}\n            {{- '<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n          {%- endif %}\n        {%- else %}\n          {{- '\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n        {%- endif %}\n        {%- if tool_call.arguments is defined %}\n          {%- for args_name, args_value in tool_call.arguments|items %}\n            {{- '<parameter=' + args_name + '>\\n' }}\n            {%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %}\n            {{- args_value }}\n            {{- '\\n</parameter>\\n' }}\n          {%- endfor %}\n        {%- endif %}\n        {{- '</function>\\n</tool_call>' }}\n      {%- endfor %}\n    {%- endif %}\n    {{- '<|im_end|>\\n' }}\n  {%- elif message.role == \"tool\" %}\n    {%- if loop.previtem and loop.previtem.role != \"tool\" %}\n      {{- '<|im_start|>user' }}\n    {%- endif %}\n    {{- '\\n<tool_response>\\n' }}\n    {{- content }}\n    {{- '\\n</tool_response>' }}\n    {%- if not loop.last and loop.nextitem.role != \"tool\" %}\n      {{- '<|im_end|>\\n' }}\n    {%- elif loop.last %}\n      {{- '<|im_end|>\\n' }}\n    {%- endif %}\n  {%- else %}\n    {{- raise_exception('Unexpected message role: ' ~ message.role) }}\n  {%- endif %}\n{%- endfor %}\n\n{# --- 4. GENERATION PROMPT PREFILL --- #}\n{%- if add_generation_prompt %}\n  {{- '<|im_start|>assistant\\n' }}\n  {%- if not _enable_thinking %}\n    {{- '<think>\\n\\n</think>\\n\\n' }}\n  {%- else %}\n    {{- '<think>\\n' }}\n  {%- endif %}\n{%- endif %}","templateDigest":"sha256:a3d170d8b4fb0e14255cf9bb7fb41765097336ba5bad698904aaf419f919ded9","extractionReason":"embedded-template","extractorVersion":"hugging-bay.gguf-embedded-chat-contract.v1","extractedAt":"2026-10-16T03:50:28.340Z","hasEmbeddedTemplate":true},"serve_verdict":{"can_download":false,"bytes_verified":true,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-mradermacher-mimo-ornith-9b-agsi-gguf"},"signature_state":"unsigned"},{"path":"MiMo-Ornith-9B-AGSI.Q4_K_S.gguf","sizeBytes":5488557216,"sha256":"662b6af5fbf5423f17a5345cc97d7b95694bc4c8aa4cb7f9edffe4a372286788","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":false,"readiness":"blocked","downloadReady":false,"reasonCodes":["NOT_SERVE_ELIGIBLE"],"reason":"This file is not available to download right now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":false,"serveDecision":{"state":"BLOCKED","reasonCodes":["NOT_SERVE_ELIGIBLE"]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":null,"chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":false,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-mradermacher-mimo-ornith-9b-agsi-gguf"},"signature_state":"unsigned"},{"path":"MiMo-Ornith-9B-AGSI.Q5_K_M.gguf","sizeBytes":6642547872,"sha256":"ec1ba32540bb2bec07761aebadd78cc0d60537aa2dbb1d7f8b7142d7c088e492","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":false,"readiness":"blocked","downloadReady":false,"reasonCodes":["NOT_SERVE_ELIGIBLE"],"reason":"This file is not available to download right now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":false,"serveDecision":{"state":"BLOCKED","reasonCodes":["NOT_SERVE_ELIGIBLE"]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":null,"chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":false,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-mradermacher-mimo-ornith-9b-agsi-gguf"},"signature_state":"unsigned"},{"path":"MiMo-Ornith-9B-AGSI.Q5_K_S.gguf","sizeBytes":6472645792,"sha256":"6d6ab51d97f6801c6c61364da3a95ec3fed540f774e37eb559e8db11d4ebdb53","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":false,"readiness":"blocked","downloadReady":false,"reasonCodes":["NOT_SERVE_ELIGIBLE"],"reason":"This file is not available to download right now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":false,"serveDecision":{"state":"BLOCKED","reasonCodes":["NOT_SERVE_ELIGIBLE"]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":null,"chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":false,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-mradermacher-mimo-ornith-9b-agsi-gguf"},"signature_state":"unsigned"},{"path":"MiMo-Ornith-9B-AGSI.Q6_K.gguf","sizeBytes":7558904992,"sha256":"2e67f4bedaad4a286b84cc653b95fccb6238b74bc5850df92b98c9245b5e415e","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":false,"readiness":"blocked","downloadReady":false,"reasonCodes":["NOT_SERVE_ELIGIBLE"],"reason":"This file is not available to download right now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":false,"serveDecision":{"state":"BLOCKED","reasonCodes":["NOT_SERVE_ELIGIBLE"]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":null,"chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":false,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-mradermacher-mimo-ornith-9b-agsi-gguf"},"signature_state":"unsigned"},{"path":"MiMo-Ornith-9B-AGSI.Q8_0.gguf","sizeBytes":9786064032,"sha256":"7c310f109aa199230856123ce2ced4328c2b35777bce094fe4dae19507d3ee3b","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":false,"readiness":"blocked","downloadReady":false,"reasonCodes":["NOT_SERVE_ELIGIBLE"],"reason":"This file is not available to download right now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":false,"serveDecision":{"state":"BLOCKED","reasonCodes":["NOT_SERVE_ELIGIBLE"]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":null,"chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":false,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-mradermacher-mimo-ornith-9b-agsi-gguf"},"signature_state":"unsigned"},{"path":"MiMo-Ornith-9B-AGSI.f16.gguf","sizeBytes":18407324832,"sha256":"0e83b5e194346e07023c587bf12f78b738aa97e34a5567655a86ee8b4cfb03cf","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":false,"readiness":"blocked","downloadReady":false,"reasonCodes":["NOT_SERVE_ELIGIBLE"],"reason":"This file is not available to download right now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":false,"serveDecision":{"state":"BLOCKED","reasonCodes":["NOT_SERVE_ELIGIBLE"]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":null,"chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":false,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-mradermacher-mimo-ornith-9b-agsi-gguf"},"signature_state":"unsigned"},{"path":"README.md","sizeBytes":3723,"sha256":"","format":"md","risk":"low","sourceKind":"external-hf","hosted":false,"readiness":"blocked","downloadReady":false,"reasonCodes":["NOT_SERVE_ELIGIBLE"],"reason":"This file is not available to download right now.","individuallyHashed":false,"fileOnly":true,"directDownloadAuthorized":false,"serveDecision":{"state":"BLOCKED","reasonCodes":["NOT_SERVE_ELIGIBLE"]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":null,"chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":false,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-mradermacher-mimo-ornith-9b-agsi-gguf"},"signature_state":"unsigned"}],"warnings":["This description is temporarily unavailable."],"nextActions":[{"label":"Inspect recorded bundle state","url":"https://huggingbay.xyz/api/artifacts/hf-model-mradermacher-mimo-ornith-9b-agsi-gguf/bundle","method":"GET"},{"label":"List individually hashed hosted files","url":"https://huggingbay.xyz/api/downloadable-files?artifactId=hf-model-mradermacher-mimo-ornith-9b-agsi-gguf&limit=100","method":"GET"},{"label":"Inspect trust bundle","url":"https://huggingbay.xyz/api/trust-bundles/hf-model-mradermacher-mimo-ornith-9b-agsi-gguf","method":"GET"},{"label":"Open artifact","url":"https://huggingbay.xyz/artifact/hf-model-mradermacher-mimo-ornith-9b-agsi-gguf","method":"GET"}],"docs":{"artifactUrl":"https://huggingbay.xyz/artifact/hf-model-mradermacher-mimo-ornith-9b-agsi-gguf","downloadsUrl":"https://huggingbay.xyz/api/downloadable-files?artifactId=hf-model-mradermacher-mimo-ornith-9b-agsi-gguf&limit=100","bundleUrl":"https://huggingbay.xyz/api/artifacts/hf-model-mradermacher-mimo-ornith-9b-agsi-gguf/bundle","trustBundleUrl":"https://huggingbay.xyz/api/trust-bundles/hf-model-mradermacher-mimo-ornith-9b-agsi-gguf"},"note":{"summary":"Downloadable doesn't mean tested: this record says whether the exact file can be downloaded now, not that the model is complete or that it runs.","downloadable":true},"serve_verdict":{"can_download":false,"bytes_verified":false,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-mradermacher-mimo-ornith-9b-agsi-gguf"}}