MCPcopy Create free account
hub / github.com/nashsu/FreeAskInternet / list_models

Function list_models

server.py:121–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119
120@app.get("/v1/models", response_model=ModelList)
121async def list_models():
122 global model_args
123 model_card = ModelCard(id="gpt-3.5-turbo")
124 return ModelList(data=[model_card])
125
126
127@app.post("/v1/chat/completions", response_model=ChatCompletionResponse)

Callers

nothing calls this directly

Calls 2

ModelCardClass · 0.85
ModelListClass · 0.85

Tested by

no test coverage detected