Files
crawlab/core
Marvin Zhang 8273507d20 refactor: update LLMResponseUsage struct and ChatMessage model for BSON compatibility
- Added BSON tags to fields in LLMResponseUsage struct to ensure proper serialization with MongoDB.
- Updated the Usage field in ChatMessage model to exclude it from JSON serialization while retaining BSON compatibility.
- Introduced GetUsage method in ChatMessage to aggregate token usage from contents, enhancing usage tracking capabilities.
2025-04-12 21:25:57 +08:00
..
2024-06-14 15:42:50 +08:00
2024-11-01 15:19:48 +08:00
2024-06-14 15:42:50 +08:00
2024-06-14 15:42:50 +08:00
2024-10-20 18:55:02 +08:00
2024-06-14 15:42:50 +08:00
2024-10-29 12:59:45 +08:00
2024-06-14 15:42:50 +08:00

crawlab-core

Backend core modules for Crawlab