mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-09-09 11:35:21 +03:00
Update all references from FlowNet-Lab to GNS3-Copilot in package names, documentation, and logging. This includes: - Module and package __init__.py files - License headers and file descriptions - Log messages and internal comments - Remove deprecated tools: GNS3CreateAreaDrawingTool and LinuxTelnetBatchTool The renaming aligns with the project's new branding while maintaining all existing functionality.
29 lines
702 B
Python
29 lines
702 B
Python
"""
|
|
Prompt loader for GNS3 Copilot.
|
|
|
|
This module provides utilities for loading system prompts.
|
|
"""
|
|
|
|
import logging
|
|
import os
|
|
|
|
from .base_prompt import SYSTEM_PROMPT
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
def load_system_prompt() -> str:
|
|
"""
|
|
Load the system prompt for GNS3 Copilot.
|
|
|
|
In the future, this can be extended to support multiple prompt variants
|
|
based on environment variables (e.g., ENGLISH_LEVEL).
|
|
|
|
Returns:
|
|
str: The system prompt string.
|
|
"""
|
|
# For now, just return the base system prompt
|
|
# Future enhancement: Load different prompts based on ENGLISH_LEVEL env var
|
|
# english_level = os.getenv("ENGLISH_LEVEL", "native")
|
|
return SYSTEM_PROMPT
|