mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-27 12:30:13 +03:00
## Summary Add a complete fault injection system for GNS3 Copilot, migrate all skills from local Python files to an external Git repository with hot reload support, and restructure Copilot API under /copilot/. ## Key Changes ### Fault Injection - New troubleshooting_injection mode with InjectionSkillsTool - 368 fault scenarios across 39 protocol categories - Context-based filtering (LLM must pass topology protocols) ### External Skills Repository - SkillsManager: Git clone/pull, version tracking, smart updates - SkillsLoader: YAML skills + Markdown prompts from external repo - Hot reload via POST /copilot/reload/skills - Configurable via gns3_server.conf ### Architecture - API unified under /copilot/ prefix - SkillsManager moved from Controller to agent module - Lazy initialization with startup background preload - Per-command Git timeout, smart update checks - Forbidden commands hot-reloadable from external repo - 32 INFO logs downgraded to DEBUG
23 lines
379 B
Python
23 lines
379 B
Python
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
#
|
|
# GNS3-Copilot - AI-powered Network Lab Assistant for GNS3
|
|
#
|
|
# Copyright (C) 2025 Yue Guobin
|
|
#
|
|
|
|
"""
|
|
Configuration package for GNS3 Copilot.
|
|
"""
|
|
|
|
from .skills_config import (
|
|
SKILLS_CONFIG,
|
|
get_skills_config,
|
|
update_skills_config,
|
|
)
|
|
|
|
__all__ = [
|
|
"SKILLS_CONFIG",
|
|
"get_skills_config",
|
|
"update_skills_config",
|
|
]
|