WeKnora/internal/application/service/llmcontext
wizardchen e936e0b347 feat(agent): implement LLM call timeout and transient error handling
- Introduced a configurable LLM call timeout with a default value, allowing for better control over LLM call durations.
- Added logic to retry transient errors (e.g., timeouts, rate limits) up to a specified maximum number of retries, improving robustness in error handling.
- Implemented parameter casting for tool arguments to ensure correct types are used, addressing common LLM quirks.
- Enhanced tool execution error messages with guidance for retrying with different approaches.
- Added validation for configuration values to prevent runtime errors.
2026-03-25 22:08:29 +08:00
..
compression_strategies.go feat(agent): implement LLM call timeout and transient error handling 2026-03-25 22:08:29 +08:00
context_manager.go feat: 新增智能体功能模块,支持自定义智能体创建、配置和选择 2025-12-24 10:34:41 +08:00
context_manager_factory.go refactor: Update function signatures across multiple files to improve readability by adding context parameters and enhancing code structure 2025-11-28 16:17:52 +08:00
memory_storage.go feat: Enhance chat and knowledge base functionalities with multi-KB support 2025-11-06 21:12:26 +08:00
redis_storage.go feat: Enhance chat and knowledge base functionalities with multi-KB support 2025-11-06 21:12:26 +08:00
storage.go feat: Enhance chat and knowledge base functionalities with multi-KB support 2025-11-06 21:12:26 +08:00