
    oq'j
                    *    d Z ddlmZ ddlmZ d
dZd	S )z``hermes model`` subcommand parser.

Extracted verbatim from ``hermes_cli/main.py:main()`` (god-file Phase 2).
Handler injected to avoid importing ``main``.
    )annotations)Callable	cmd_modelr   returnNonec               H   |                      ddd          }|                    ddd           |                    d	d
           |                    dd           |                    ddd           |                    ddd           |                    ddd           |                    ddd           |                    dt          dd           |                    dd           |                    ddd           |                    |            dS )!z2Attach the ``model`` subcommand to ``subparsers``.modelz!Select default model and providerz>Interactively select your inference provider and default model)helpdescriptionz	--refresh
store_truezTWipe the model picker disk cache and re-fetch every provider's live /v1/models list.)actionr
   z--portal-urlz;Portal base URL for Nous login (default: production portal))r
   z--inference-urlzIInference API base URL for Nous login (default: production inference API)z--client-idNz;OAuth client id to use for Nous login (default: hermes-cli))defaultr
   z--scopez%OAuth scope to request for Nous loginz--no-browserzBDo not attempt to open the browser automatically during Nous loginz--manual-pastezFor loopback OAuth providers (xai-oauth, ...): skip the local callback listener and paste the failed callback URL from your browser instead. Use on browser-only remotes (Cloud Shell, Codespaces, EC2 Instance Connect, ...). See #26923.z	--timeoutg      .@z<HTTP request timeout in seconds for Nous login (default: 15))typer   r
   z--ca-bundlez4Path to CA bundle PEM file for Nous TLS verificationz
--insecurez6Disable TLS verification for Nous login (testing only))func)
add_parseradd_argumentfloatset_defaults)
subparsersr   model_parsers      A/home/ubuntu/.hermes/hermes-agent/hermes_cli/subcommands/model.pybuild_model_parserr      s   
 ((0T )  L
 c    
 J     X     J    
 4&M     Q    
 B	  	 	 	 K	     R     E    
 9-----    N)r   r   r   r   )__doc__
__future__r   typingr   r    r   r   <module>r      sS     # " " " " "      <. <. <. <. <. <.r   