Commit Graph

11 Commits

Author SHA1 Message Date
247835e595 Refactor Google and OpenAI provider response handling and tool utilities
- Improved error handling and logging in Google response processing.
- Simplified streaming content extraction and error detection in Google provider.
- Enhanced content extraction logic in OpenAI provider to handle edge cases.
- Streamlined tool conversion functions for both Google and OpenAI providers.
- Removed redundant comments and improved code readability across multiple files.
- Updated context window retrieval and message truncation logic for better performance.
- Ensured consistent handling of tool calls and arguments in OpenAI responses.
2025-03-28 04:20:39 +00:00
49aebc12d5 refactor: update application name and enhance header display in Streamlit app 2025-03-26 12:27:00 +00:00
bd56cc839d Refactor code structure for improved readability and maintainability 2025-03-26 12:14:58 +00:00
a4683023ad feat: add support for Anthropic provider, including configuration and conversion utilities 2025-03-26 11:57:52 +00:00
80ba05338f feat: Implement async utilities for MCP server management and JSON-RPC communication
- Added `process.py` for managing MCP server subprocesses with async capabilities.
- Introduced `protocol.py` for handling JSON-RPC communication over streams.
- Created `llm_client.py` to support chat completion requests to various LLM providers, integrating with MCP tools.
- Defined model configurations in `llm_models.py` for different LLM providers.
- Removed the synchronous `mcp_manager.py` in favor of a more modular approach.
- Established a provider framework in `providers` directory with a base class and specific implementations.
- Implemented `OpenAIProvider` for interacting with OpenAI's API, including streaming support and tool call handling.
2025-03-26 11:00:20 +00:00
ec39844bf1 feat: enhance logging in MCP client and manager for better debugging and error tracking 2025-03-26 06:55:52 +00:00
314b488bf9 feat: implement custom MCP client and integrate with OpenAI API for enhanced chat functionality 2025-03-25 19:00:00 +00:00
1019eae9fe fix: update pre-commit hook versions and adjust ruff dependency in pyproject.toml 2025-03-25 18:28:22 +00:00
38ba3fa69b feat: add initial project structure with license, README, and pre-commit configuration 2025-03-25 18:22:10 +00:00
4bdda5dd76 feat: add Dolphin MCP integration and update project documentation 2025-03-25 18:06:43 +00:00
d1ef966e65 Add initial project structure with .gitignore, pyproject.toml, and main application files 2025-03-25 17:12:45 +00:00