Release Notes:
-
Python Version Update: Updated the Python version used in GitHub Actions from 3.10.4 to 3.11 to leverage the latest features and improvements.
-
Enhanced System Prompts: Introduced a new, detailed system prompt (
DEFAULT_SYSTEM_PROMPT_V2
) for the coding agent, emphasizing logical reasoning and structured problem-solving. This update aims to improve the interaction quality by providing clearer guidance and more detailed task descriptions. -
Model and Configuration Adjustments:
- Updated the GPT model in
CodingAgent
from "gpt-4-0125-preview" to "gpt-4-turbo" for enhanced performance. - Reduced the temperature setting from 0.75 to 0.2 to generate more predictable and stable outputs.
- Updated the GPT model in
-
Logging Enhancements:
- Changed the default logging level from INFO to WARNING to reduce log verbosity and focus on more critical issues.
- Improved the
StreamToLogger
class to prevent recursive logging issues.
-
Database and Memory Management:
- Simplified the
MemoryManager
class by removing redundant code and focusing on core functionalities. - Adjusted the
add_message
method to includesystem_prompt
in the database entries, allowing for better context management in responses.
- Simplified the
-
API and Endpoint Improvements:
- Introduced a new endpoint
/set_temperature
to dynamically adjust the model's temperature setting based on user input. - Streamlined various API endpoints and improved error handling to enhance stability and user experience.
- Introduced a new endpoint
-
Codebase and Setup Refinements:
- Modified the application setup process to integrate the new system prompt more seamlessly.
- Cleaned up unnecessary print statements and refined error handling across the codebase to improve clarity and maintainability.
These updates are part of our ongoing efforts to enhance the system's capabilities and ensure a more robust, user-friendly experience.