- Updated .env.example to provide clearer configuration instructions and API key setup. - Removed debug_env.py as it was no longer needed. - Refactored main.py to streamline application initialization and workspace setup. - Introduced a new HistoryManager for managing task execution history. - Enhanced UI components in chat_view.py and task_guide_view.py to improve user interaction and code preview functionality. - Added loading indicators and improved task history display in the UI. - Implemented unit tests for history management and intent classification.
20 lines
646 B
Plaintext
20 lines
646 B
Plaintext
# ========================================
|
|
# LocalAgent Configuration Example
|
|
# ========================================
|
|
# Usage:
|
|
# 1. Copy this file to .env
|
|
# 2. Fill in your API Key and other settings
|
|
# ========================================
|
|
|
|
# SiliconFlow API Configuration
|
|
# Get API Key: https://siliconflow.cn
|
|
LLM_API_URL=https://api.siliconflow.cn/v1/chat/completions
|
|
LLM_API_KEY=your_api_key_here
|
|
|
|
# Model Configuration
|
|
# Intent recognition model (small model recommended for speed)
|
|
INTENT_MODEL_NAME=Qwen/Qwen2.5-7B-Instruct
|
|
|
|
# Code generation model (large model recommended for quality)
|
|
GENERATION_MODEL_NAME=Qwen/Qwen2.5-72B-Instruct
|