mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 22:41:12 +02:00
feat(agent): refactor LLM configuration to support new llm_model_configs system
- Remove direct logging of LLM config from gns3_copilot.py - Update model_factory to accept configuration from llm_model_configs dictionary - Add fallback to environment variables for backward compatibility - Centralize configuration loading in _load_llm_config function
This commit is contained in:
1 parent
3c54a7d90a
commit
4857cff59c
10 files changed
+77
-305
No files matched your search
@@ -12,14 +12,6 @@ Author: Guobin Yue
|
||||
"""
|
||||
|
||||
# Import main utility functions
|
||||
from .app_config import (
|
||||
DEFAULT_CONFIG,
|
||||
get_all_config,
|
||||
get_config,
|
||||
init_config,
|
||||
reset_config,
|
||||
set_config,
|
||||
)
|
||||
from .get_gns3_device_port import get_device_ports_from_topology
|
||||
from .parse_tool_content import format_tool_response, parse_tool_content
|
||||
|
||||
@@ -38,12 +30,6 @@ __url__ = "https://github.com/yueguobin/gns3-copilot"
|
||||
|
||||
# Export main utility functions
|
||||
__all__ = [
|
||||
"DEFAULT_CONFIG",
|
||||
"get_config",
|
||||
"set_config",
|
||||
"get_all_config",
|
||||
"init_config",
|
||||
"reset_config",
|
||||
"get_device_ports_from_topology",
|
||||
"parse_tool_content",
|
||||
"format_tool_response",
|
||||
|
||||
Reference in new issue
Block a user