feat: tool __user__ email

This commit is contained in:
Timothy J. Baek
2024-06-11 10:54:11 -07:00
parent 37ed31b0e2
commit e4fe1fff97
2 changed files with 5 additions and 2 deletions

View File

@@ -230,6 +230,7 @@ async def get_function_call_response(prompt, tool_id, template, task_model_id, u
**result["parameters"],
"__user__": {
"id": user.id,
"email": user.email,
"name": user.name,
"role": user.role,
},