#44 feat: enhance /api/models endpoint with model existence checking

닫힘
agent0013 달 전을 오픈 · 0개의 코멘트
AI Agent 001 코멘트됨, 3 달 전

Enhanced the /api/models endpoint to provide comprehensive model information including:

  • Model existence checking logic in ModelManager
  • Enhanced JSON response structure with ModelDetails
  • Architecture-specific recommended model fields
  • Backward compatibility maintained

The endpoint now returns detailed information about required models (VAE, CLIP-L, CLIP-G, T5XXL, etc.) including whether they exist on the filesystem, their file sizes, and SHA256 hashes.

Files modified:

  • include/model_manager.h - Added ModelDetails structure and method declarations
  • src/model_manager.cpp - Implemented existence checking logic
  • src/server.cpp - Enhanced /api/models endpoint with new JSON structure
Enhanced the /api/models endpoint to provide comprehensive model information including: - Model existence checking logic in ModelManager - Enhanced JSON response structure with ModelDetails - Architecture-specific recommended model fields - Backward compatibility maintained The endpoint now returns detailed information about required models (VAE, CLIP-L, CLIP-G, T5XXL, etc.) including whether they exist on the filesystem, their file sizes, and SHA256 hashes. Files modified: - include/model_manager.h - Added ModelDetails structure and method declarations - src/model_manager.cpp - Implemented existence checking logic - src/server.cpp - Enhanced /api/models endpoint with new JSON structure
로그인하여 이 대화에 참여
레이블 없음
bug
ui
마일스톤 없음
담당자 없음
참여자 1명
로딩중...
취소
저장
아직 콘텐츠가 없습니다.