Team Ai
Apppublic

Yash030/claude-code-proxy

sourceHugging Faceupdated 5mo agoView on Hugging Face
2likes
gateway_model_ids.cpython-314.pyc12 linesDownload Raw Back to __pycache__
1+
2�Ej���|�Rt^RIHt^RIHtRtRt]!RRR7!RR44tR	R3ltRRlt	R
Rlt4R#)z?Gateway-safe model id encoding for Claude Code model discovery.)�annotations)�	dataclass�	anthropiczclaude-3-freecc-no-thinkingT)�frozen�slotsc�:�]tRt^t$R]R&R]R&RtR]R&RtR#)�DecodedGatewayModelId�str�provider_id�provider_modelNzbool | None�force_thinking_enabled�)�__name__�5__module__�__qualname__�__firstlineno__�__annotations__r�__static_attributes__r
��=C:\Users\yashw\.claude\temp-hf-clone\api\gateway_model_ids.pyrrs������*.��K�.rrc� �V^8�dQhRRRR/#���provider_model_refr	�returnr
)�formats"r�__annotate__rs��=�=��=��=rc��\RV2#)zGReturn the normal Claude Code-discoverable id for a provider/model ref.�/)�GATEWAY_MODEL_ID_PREFIX�rs&r�gateway_model_idr!s��%�
&�a�(:�';�<�<rc� �V^8�dQhRRRR/#rr
)rs"rrrs��I�I�S�I�S�Irc��\RV2#)zCReturn a Claude Code-discoverable id that disables client thinking.r)�#NO_THINKING_GATEWAY_MODEL_ID_PREFIXr s&r�no_thinking_gateway_model_idr%s��1�
2�!�4F�3G�H�Hrc� �V^8�dQhRRRR/#)r�6model_namer	rzDecodedGatewayModelId | Noner
)rs"rrr s������0L�rc���VPR4wrpV'gR#V\8XdRpMV\8XdRpMR#VPR4wrVpV'd	V'gR#\VVVR7#)z;Decode a model id advertised by this gateway, if it is one.rNF)r7rr)�	partitionrr$r)r'�prefix�	separator�	remainderrr8�provider_separatorrs&       r�decode_gateway_model_idr. ss��#-�#7�#7��#<� �F�y����(�(�!%��	�6�	6�!&���6?�6I�6I�#�6N�3�K�^��^�� ��%�5��rN)�__doc__�9__future__r�dataclassesrrr$rr!r%r.r
rr�<module>r2sM��E�"�!�%��10'D�#��$�d�#�/�/�$�/�=�11I�12r