Commit Graph

12 Commits

Author SHA1 Message Date
BuildTools 22bd74b399
feat(server): replace Flask with FastAPI and Uvicorn
- replace Flask with FastAPI and Uvicorn
- fix web page not found error
- port is now defaulted to 7001
- bind to localhost (127.0.0.1) instead of 0.0.0.0
- improve performance by using Uvicorn
- add OpenAPI docs for endpoints
2024-08-31 15:34:47 -07:00
BuildTools 6e424462ab
refactor: add type hints 2024-08-22 21:56:37 -07:00
BuildTools d4be39a22c
feat(core): implement plugins
- add plugins feature using importlib
- edit .gitignore
- change enabled state of AUTOGGUF_SERVER to "enabled" from "true" for consistency
2024-08-22 20:08:02 -07:00
BuildTools 88875e3d67
feat(core): add manual model import
- allow importing models from any directory on the system
- add args as AutoGGUF class parameter
2024-08-22 15:39:08 -07:00
BuildTools c8babbd6e1
feat(core): add update checking support
- add update checking support with AUTOGGUF_CHECK_UPDATE (enabled) env variable
- fix setup.py
- add localization keys for update checking
- update version to v1.7.2 in Localizations.py
- formatting changes
2024-08-18 13:30:45 -07:00
BuildTools 27a53a5b2b
fix: revert imports change
- revert absolute imports change
2024-08-16 16:28:24 -07:00
BuildTools 9d939151de
refactor: move functions to helper modules
- move functions to helper modules
- set radon to lenient (E)
- disable pre-commit workflow
- adjust module importing
2024-08-16 15:50:39 -07:00
BuildTools f3257bfa69
feat: support env variables as server config
- add AUTOGGUF_SERVER=true/false and AUTOGGUF_SERVER_PORT=int configuration options
- update AutoGGUF docstrings
2024-08-15 17:25:33 -07:00
BuildTools 2e90c91eb8
feat(server): add read only flask server
- added the following endpoints:
/v1/backends (lists all backends and path)
/v1/health (heartbeat)
/v1/tasks (gets current task info, includes name, status, progress, and log file)
/v1/models (gets name, model type, path, and shard status)
2024-08-15 17:15:21 -07:00
BuildTools 7e61f6b3d3
refactor: Switch from PyQt6 to PySide6 for license compatibility
- Replaced all PyQt6 imports with PySide6
- Updated signal syntax (pyqtSignal to Signal)
- Modified requirements.txt to use PySide6
- Ensured compatibility with Apache-2.0 license
2024-08-08 13:04:30 -07:00
BuildTools fa51f7cdb8 style: format code with Black 2024-08-04 19:50:34 -07:00
leafspark b3721e75f0
add code 2024-08-02 21:10:32 -07:00