| 14 | ) |
| 15 | |
| 16 | type FunctionCall struct { |
| 17 | BaseModel `bson:",inline"` |
| 18 | UserID bson.ObjectID `bson:"user_id"` |
| 19 | ProjectID string `bson:"project_id"` |
| 20 | ConversationID string `bson:"conversation_id"` |
| 21 | ToolCallID string `bson:"tool_call_id"` |
| 22 | FunctionName string `bson:"function_name"` |
| 23 | FunctionParams string `bson:"function_params"` // json string |
| 24 | FunctionResult string `bson:"function_result"` // json string |
| 25 | FunctionError string `bson:"function_error"` // json string |
| 26 | FunctionStatus FunctionCallStatus `bson:"function_status"` |
| 27 | } |
| 28 | |
| 29 | func (c FunctionCall) CollectionName() string { |
| 30 | return "function_calls" |
nothing calls this directly
no outgoing calls
no test coverage detected