implement nested tool calls and initial setup for result metadata

This commit is contained in:
Kujtim Hoxha 2025-04-12 14:49:01 +02:00
commit 0697dcc1d9
14 changed files with 584 additions and 167 deletions

View file

@ -155,6 +155,7 @@ func (s *service) fromDBItem(item db.Message) (Message, error) {
SessionID: item.SessionID,
Role: MessageRole(item.Role),
Parts: parts,
Model: models.ModelID(item.Model.String),
CreatedAt: item.CreatedAt,
UpdatedAt: item.UpdatedAt,
}, nil