
    `gjx                    (    d Z ddlmZ ddlmZ ddZy)z``hermes model`` subcommand parser.

Extracted verbatim from ``hermes_cli/main.py:main()`` (god-file Phase 2).
Handler injected to avoid importing ``main``.
    )annotations)Callablec                  | j                  ddd      }|j                  ddd       |j                  d	d
       |j                  dd       |j                  ddd       |j                  ddd       |j                  ddd       |j                  dt        dd       |j                  dd       |j                  ddd       |j                  |       y)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	--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)
subparsers	cmd_modelmodel_parsers      O/root/.hermes/venv/lib/python3.12/site-packages/hermes_cli/subcommands/model.pybuild_model_parserr      s<   
 ((0T ) L
 c  
 J   X   J  
 4&M   Q  
 K	   R   E  
 9-    N)r   r   returnNone)__doc__
__future__r   typingr   r    r   r   <module>r      s    # 2.r   