11 Commits

Author SHA1 Message Date
YueGuobin
cd1d28729a feat: make AI Copilot an optional dependency
This change makes AI Copilot features optional to reduce installation
size and support restricted environments.

Changes:
- Split AI dependencies into ai-requirements.txt
- Add ai-copilot optional dependency in pyproject.toml
- Add import protection in gns3server/agent/__init__.py
- Return 501 for AI endpoints when dependencies not installed
- Add gns3server-uninstall-ai-copilot command for cleanup
- Update README with installation and uninstallation instructions

Installation:
- Basic: pip install gns3-server
- With AI: pip install gns3-server[ai-copilot]
- Development: pip install gns3-server[ai-copilot,dev]

Uninstallation:
- gns3server-uninstall-ai-copilot
2026-03-18 15:21:23 +08:00
grossmj
679c690903
Drop support for Python 3.9 2026-03-06 19:03:53 +08:00
grossmj
31613630cf
Update pyproject.toml to support LICENSE file 2025-06-09 22:24:23 +02:00
grossmj
5269d4386c
Drop Python 3.8 2024-12-30 15:36:40 +07:00
grossmj
314e01d2b4
Ensure Python >= 3.8 is used in pyproject.toml 2024-05-12 16:44:09 +07:00
grossmj
fb6d29aeff Python 3.12 support 2023-10-24 18:37:13 +10:00
grossmj
0f0412158d Drop support for Python 3.7 and upgrade dependencies 2023-10-22 15:37:00 +10:00
grossmj
483db91851 Use dev for optional development dependencies 2023-08-10 23:16:57 +10:00
grossmj
1cb433c5bc New packaging relying only pyproject.toml 2023-08-10 22:44:37 +10:00
grossmj
05d594f3cf Upgrade FastAPI version to 0.101.0 2023-08-05 20:13:30 +10:00
grossmj
ffe35b6559 Migrate to pyproject.toml 2023-03-21 17:41:01 +10:00