+
    iHàj  ã                  óB   € R t ^ RIHt ^ RIHtHtHt ^ RIHt R R lt	R# )u2  Managed llama.cpp endpoint for auxiliary and fallback client resolution.

A bare ``llamacpp`` / ``llama.cpp`` / ``llama-cpp`` alias (no base_url, no configured provider of
that name) means "the local server Hermes manages for this profile" â€” exactly what the main ladder
resolves in ``hermes_cli.runtime_provider_custom._resolve_llamacpp_runtime``. With no server
running the answer is "unavailable", never the generic custom/API-key discovery: that handed the
local model slug to whatever cloud provider held a key (#119227) or to the primary's own endpoint.
)Úannotations)ÚAnyÚOptionalÚTuple)ÚLLAMACPP_ALIASESc               ó(   € V ^8„  d   QhRRRRRRRR/# )é   ÚproviderzOptional[str]Úbase_urlÚapi_keyr   ÚreturnzOptional[tuple[str, Any]]© )Úformats   "ÚB/home/ubuntu/.hermes/hermes-agent/agent/auxiliary_local_runtime.pyÚ__annotate__r      s0   € ÷ Eñ E ]ð E¸mð EØ$'ðEØ,EñEó    c                óž  € T ;'       g    RP                  4       P                  4       pV\        9  g	   V'       d   R# ^ RIHp ^ RIHp ^ RIHp V! V4      '       d   R# V! V! 4       R7      ;'       g    / p\        VP                  R4      ;'       g    R4      P                  4       T;'       g    VP                  R4      ;'       g    R	3# )
aU  ``(base_url, api_key)`` of the profile's local llama.cpp server for a bare alias.

``base_url`` is ``""`` when nothing is serving. ``None`` when the request is not a bare alias:
an explicit base_url or a configured provider entry under the alias name resolves as before.
Read on every call so a restarted server's new port/key is picked up.
Ú N)Úload_config)Úresolve_llamacpp_endpoint)Ú_get_named_custom_provider)Úconfigr
   r   zno-key-required)ÚstripÚlowerr   Úhermes_cli.configr   Ú!hermes_cli.local_runtime.endpointr   Úhermes_cli.runtime_providerr   ÚstrÚget)r	   r
   r   Úaliasr   r   r   Úendpoints   &&&     r   Úbare_llamacpp_endpointr!      s¥   € ð �^ˆ^˜×"Ñ"Ó$×*Ñ*Ó,€EØÔ$Ô$¯ÙÝ-ÝKÝFÙ! %×(Ò(ÙÙ(±³Ô>×DÐDÀ"€HÜ�—‘˜ZÓ(×.Ð.¨BÓ/×5Ñ5Ó7Ø×CÐC�x—|‘| IÓ.×CÐCÐ2CðEð Er   N)
Ú__doc__Ú
__future__r   Útypingr   r   r   r   r   r!   r   r   r   Ú<module>r%      s   ðñõ #ç 'Ñ 'å >÷Er   