mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
- 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.
crawlab-core
Backend core modules for Crawlab