WeKnora/internal/models/chat
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
..
chat.go feat: enhance message structure to support multi-content messages 2026-03-16 17:33:50 +08:00
image_resolve.go feat: enhance multimodal support and image handling 2026-03-16 02:26:47 +08:00
json_field_extractor.go feat: implement final_answer tool and enhance agent duration tracking 2026-03-09 11:46:56 +08:00
json_field_extractor_test.go feat: implement final_answer tool and enhance agent duration tracking 2026-03-09 11:46:56 +08:00
lkeap.go feat: add thinking mode support for agents 2026-01-20 18:19:44 +08:00
nvidia.go feat: NVIDIA chat model API support custom endpoint 2026-03-13 18:14:08 +08:00
ollama.go feat: implement image upload and multimodal support 2026-03-16 02:26:47 +08:00
provider_chat.go fix(chat): support reasoning content in streaming responses for vLLM models 2026-03-24 11:56:55 +08:00
qwen.go feat: add thinking mode support for agents 2026-01-20 18:19:44 +08:00
remote_api.go feat(agent): implement LLM call timeout and transient error handling 2026-03-25 22:08:29 +08:00
remote_api_test.go refactor: Clean up code by removing unnecessary blank lines and improving comments for better readability and maintainability 2025-11-28 16:10:37 +08:00
sse_reader.go feat: add thinking mode support for agents 2026-01-20 18:19:44 +08:00