+
    iHàjî  ã                  óD   € R t ^ RIHt ^ RIHt ^ RIHtHt R tR R lt	R# )a¹  The ``_primary_runtime`` snapshot: the route a fallback turn restores on the next turn.

Both builders (agent construction, and a deliberate model switch) record the custom entry that owns
the route's credential, resolved against the config the route runs on. Restoring scopes the
credential pool by that record, never by a live ``config.yaml`` lookup, so an entry edited or
removed mid-session can't hand the session another account's key.
)Úannotations)ÚAny)ÚSNAPSHOT_OWNER_KEYÚruntime_entry_ownerc           	     ón  € V P                   p/ R V P                  bRV P                  bRV P                  b\        \        V P                  V P                  V P                  4      bRV P                  bRV P                  bR\        V RR4      bR\        \        V R/ 4      ;'       g    / 4      bR\        V P                  4      bR	V P                  bR
V P                  bR\        V RR4      bR\        VR V P                  4      bR\        VRV P                  4      bR\        VRR4      bR\        VRV P                  4      bRVP                  bRVP                  /CV n        V P                  R8X  dB   V P                  P!                  RV P"                  RV P$                  RV P&                  /4       R# R# )ÚmodelÚproviderÚrequested_providerÚbase_urlÚapi_modeÚapi_keyÚ Úrequest_overridesÚclient_kwargsÚuse_prompt_cachingÚuse_native_cache_layoutÚreasoning_echo_flagÚ_reasoning_echo_flagFÚcompressor_modelÚcompressor_base_urlÚcompressor_api_keyÚcompressor_providerÚcompressor_context_lengthÚcompressor_threshold_tokensÚanthropic_messagesÚanthropic_api_keyÚanthropic_base_urlÚis_anthropic_oauthN)Úcontext_compressorr   r   r	   r   r   r
   r   ÚgetattrÚdictÚ_client_kwargsÚ_use_prompt_cachingÚ_use_native_cache_layoutÚcontext_lengthÚthreshold_tokensÚ_primary_runtimeÚupdateÚ_anthropic_api_keyÚ_anthropic_base_urlÚ_is_anthropic_oauth)ÚagentÚ_ccs   & ÚC/home/ubuntu/.hermes/hermes-agent/agent/primary_runtime_snapshot.pyÚ_snapshot_primary_runtimer.      sé  € ð ×
"Ñ
"€CðØ�—‘ðà�E—N‘Nðð 	˜e×6Ñ6ðô 	Ô/°·±À×@XÑ@XÐZ_×ZhÑZhÓið	ð
 	�E—N‘Nðð 	�E—N‘Nðð 	”7˜5 )¨RÓ0ðð 	œT¤'¨%Ð1DÀbÓ"I×"OÐ"OÈRÓPðð 	œ˜e×2Ñ2Ó3ðð 	˜e×7Ñ7ðð 	" 5×#AÑ#Aðð 	œw uÐ.DÀeÓLðð 	œG C¨°%·+±+Ó>ðð 	œw s¨J¸¿¹ÓGðð  	œg c¨9°bÓ9ð!ð" 	œw s¨J¸¿¹ÓGð#ð$ 	$ S×%7Ñ%7ð%ð& 	& s×';Ñ';ñ'€EÔð* ‡~�~Ð-Ô-Ø×Ñ×%Ñ%Ø ×!9Ñ!9Ø  %×";Ñ";Ø  %×";Ñ";ð'
ö 	ñ .ó    c               ó   € V ^8„  d   QhRR/# )é   Úreturnzdict[str, Any]© )Úformats   "r-   Ú__annotate__r5   1   s   € ÷ #ñ #¸ñ #r/   c                ó8  € \        V RR4      ;'       g    Rp/ RV P                  bRV P                  bRV P                  b\        \        V P                  V P                  V P                  4      bRV P                  bRV P                  bR\        V RR	4      bR
\        V P                  4      bRV P                  bRV P                  bR\        V RR4      '       d   \        V P                  4      MRbR\        V RR4      bR\        \        V R/ 4      ;'       g    / 4      bR\        \        V R/ 4      ;'       g    / 4      bR\        VRV P                  4      bR\        VRV P                  4      bR\        VRR	4      bR\        VRV P                  4      RV'       d   VP                  M^ R\        VRV P                  4      RV'       d   VP                  M^ /CpVR8X  d6   VP                  RV P                   RV P"                  RV P$                  /4       V# )zDThe ``_primary_runtime`` record that persists a switch across turns.r   Nr   r   r	   r
   r   r   r   r   r   r   Úreasoning_configr   r   Fr   Úruntime_capabilitiesr   r   r   r   r   Úcompressor_api_moder   r   r   r   r   )r   r   r   r	   r   r   r
   r   r    r!   r"   r#   r7   r$   r%   r'   r(   r)   r*   )r+   r   ÚccÚrts   &&  r-   Ú_build_primary_runtime_snapshotr<   1   s@  € ä	�Ð,¨dÓ	3×	;Ð	;°t€Bð
Ø�—‘ð
à�E—N‘Nð
ð 	˜e×6Ñ6ð
ô 	Ô/°·±À×@XÑ@XÐZ_×ZhÑZhÓið	
ð
 	�E—N‘Nð
ð 	�E—N‘Nð
ð 	”7˜5 )¨RÓ0ð
ð 	œ˜e×2Ñ2Ó3ð
ð 	˜e×7Ñ7ð
ð 	" 5×#AÑ#Að
ð 	¼GÀEÐK]Ð_c×<dÒ<dœD ×!7Ñ!7Ô8Ðjnð
ð 	œw uÐ.DÀeÓLð
ð  	œT¤'¨%Ð1DÀbÓ"I×"OÐ"OÈRÓPð!
ð" 	¤¤W¨UÐ4JÈBÓ%O×%UÐ%UÐSUÓ Vð#
ð$ 	œG B¨°·±Ó=ð%
ð& 	œw r¨:°u·~±~ÓFð'
ð( 	œg b¨)°RÓ8ð)
ð* 	œw r¨:°u·~±~ÓFØ#¿" R×%6Ò%6À!Øœw r¨:°u·~±~ÓFØ%¿b r×':Ò':Àañ1
€Bð4 Ð'Ô'Ø
�	‰	Ø ×!9Ñ!9Ø  %×";Ñ";Ø  %×";Ñ";ð
ô 	ð
 €Ir/   N)
Ú__doc__Ú
__future__r   Útypingr   Úagent.custom_entry_poolr   r   r.   r<   r3   r/   r-   Ú<module>rA      s    ðñõ #å ç Kò÷B#r/   