
    `gj9                     b    d Z ddlmZ ddlmZ  G d de      Z edddd	d
d      Z ee       y)u   GitHub Copilot ACP provider profile.

copilot-acp uses an external ACP subprocess — NOT the standard
transport. api_mode="copilot_acp" is handled separately in run_agent.py.
The profile captures auth + endpoint metadata for registry migration.
    )register_provider)ProviderProfilec            
       J    e Zd ZdZdddddedz  dedz  dedee   dz  fd	Zy)
CopilotACPProfileuA   GitHub Copilot ACP — external process, no REST models endpoint.Ng       @)api_keybase_urltimeoutr   r   r	   returnc                     y)z/Model listing is handled by the ACP subprocess.N )selfr   r   r	   s       _/root/.hermes/venv/lib/python3.12/site-packages/plugins/model-providers/copilot-acp/__init__.pyfetch_modelszCopilotACPProfile.fetch_models   s         )__name__
__module____qualname____doc__strfloatlistr   r   r   r   r   r      sN    K
 ## t *	
  
cT	r   r   zcopilot-acp)zgithub-copilot-acpzcopilot-acp-agentchat_completionsr   zacp://copilotexternal_process)namealiasesapi_modeenv_varsr   	auth_typeN)r   	providersr   providers.baser   r   copilot_acpr   r   r   <module>r"      sF    ( *   	7  + r   