获取支持的模型列表
(self)
| 597 | ) |
| 598 | |
| 599 | def get_supported_models(self) -> List[str]: |
| 600 | """获取支持的模型列表""" |
| 601 | return [ |
| 602 | settings.GLM45_MODEL, |
| 603 | settings.GLM45_THINKING_MODEL, |
| 604 | settings.GLM45_SEARCH_MODEL, |
| 605 | settings.GLM45_AIR_MODEL, |
| 606 | settings.GLM46V_MODEL, |
| 607 | settings.GLM5_MODEL, |
| 608 | settings.GLM47_MODEL, |
| 609 | settings.GLM47_THINKING_MODEL, |
| 610 | settings.GLM47_SEARCH_MODEL, |
| 611 | settings.GLM47_ADVANCED_SEARCH_MODEL, |
| 612 | ] |
| 613 | |
| 614 | def _requires_persisted_chat(self, upstream_model_id: str) -> bool: |
| 615 | """需要挂载真实 chat 会话的上游模型。""" |
no outgoing calls
no test coverage detected