This commit is contained in:
Timothy J. Baek 2024-06-22 12:26:03 -07:00
parent 6ce91de7e0
commit 9205b90af6

View File

@ -281,7 +281,7 @@ async def get_function_call_response(
**(
{
"valves": toolkit_module.UserValves(
Tools.get_user_valves_by_id_and_user_id(
**Tools.get_user_valves_by_id_and_user_id(
tool_id, user.id
)
)
@ -415,7 +415,7 @@ class ChatCompletionMiddleware(BaseHTTPMiddleware):
**(
{
"valves": function_module.UserValves(
Functions.get_user_valves_by_id_and_user_id(
**Functions.get_user_valves_by_id_and_user_id(
filter_id, user.id
)
)
@ -899,7 +899,7 @@ async def generate_chat_completions(form_data: dict, user=Depends(get_verified_u
**(
{
"valves": function_module.UserValves(
Functions.get_user_valves_by_id_and_user_id(
**Functions.get_user_valves_by_id_and_user_id(
pipe_id, user.id
)
)
@ -1109,7 +1109,7 @@ async def chat_completed(form_data: dict, user=Depends(get_verified_user)):
**(
{
"valves": function_module.UserValves(
Functions.get_user_valves_by_id_and_user_id(
**Functions.get_user_valves_by_id_and_user_id(
filter_id, user.id
)
)