MCPcopy Create free account
hub / github.com/CJackHwang/AIstudioProxyAPI / _analyze_model_requirements

Function _analyze_model_requirements

api_utils/request_processor.py:108–112  ·  view source on GitHub ↗

Proxy to model_switching.analyze_model_requirements

(
    req_id: str, context: RequestContext, request: ChatCompletionRequest
)

Source from the content-addressed store, hash-verified

106
107
108async def _analyze_model_requirements(
109 req_id: str, context: RequestContext, request: ChatCompletionRequest
110) -> RequestContext:
111 """Proxy to model_switching.analyze_model_requirements"""
112 return await ms_analyze(req_id, context, request.model, MODEL_NAME)
113
114
115async def _validate_page_status(

Calls

no outgoing calls