mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-14 04:34:47 +00:00
implement nested tool calls and initial setup for result metadata
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user