Diamanta commited on
Commit
3e2914b
·
verified ·
1 Parent(s): 6f8c0a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -13
app.py CHANGED
@@ -115,19 +115,7 @@ async def health_check():
115
  @app.get("/api/tags")
116
  async def api_tags():
117
  return JSONResponse(content={
118
- "data": [
119
- {
120
- "name": "codellama-7b-instruct",
121
- "modified_at": "2025-06-01T00:00:00Z", # Replace with actual last modified ISO8601 UTC
122
- "size": 8000000000, # Replace with actual model size in bytes
123
- "digest": "sha256:placeholderdigestcodellama7b", # Replace with actual sha256 digest
124
- "details": {
125
- "format": "gguf",
126
- "family": "codellama",
127
- "families": ["codellama"]
128
- }
129
- }
130
- ]
131
  })
132
 
133
  @app.get("/models")
 
115
  @app.get("/api/tags")
116
  async def api_tags():
117
  return JSONResponse(content={
118
+ "data": [model.dict() for model in AVAILABLE_MODELS]
 
 
 
 
 
 
 
 
 
 
 
 
119
  })
120
 
121
  @app.get("/models")