WeKnora/internal/models/chat
wizardchen 53e8e17df4 feat(logger): implement LLM debug logging functionality
- Added a new logger for LLM calls, enabling detailed logging of model interactions, including request and response data.
- Introduced configuration options for enabling and specifying the log directory for LLM debug logs.
- Implemented cleanup for old log files to manage disk space effectively.
- Wrapped existing chat implementations to log calls when debug logging is enabled, enhancing traceability for model interactions.
2026-04-16 23:15:02 +08:00
..
chat.go feat(logger): implement LLM debug logging functionality 2026-04-16 23:15:02 +08:00
chat_provider_spec.go feat: integrate ChatBot provider and docreader 2026-04-13 17:47:24 +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
llm_debug.go feat(logger): implement LLM debug logging functionality 2026-04-16 23:15:02 +08:00
llm_debug_wrapper.go feat(logger): implement LLM debug logging functionality 2026-04-16 23:15:02 +08:00
ollama.go refactor(chat): simplify temperature option handling in chat request builders 2026-03-31 12:19:22 +08:00
remote_api.go feat(logger): implement LLM debug logging functionality 2026-04-16 23:15:02 +08:00
remote_api_test.go test: harden remote api chat fixture for SSRF validation 2026-04-09 19:19:25 +08:00
sse_reader.go fix(stream): use io.EOF instead of errors.New("EOF") in SSEReader 2026-04-02 18:35:53 +08:00