You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def_extract_tools(action, format, model_opts, tool_calls) ->dict[str, Callable]:
297
+
def_extract_tools(
298
+
action, format, model_opts, tool_calls, ctx
299
+
) ->dict[str, Callable]:
298
300
tools: dict[str, Callable] =dict()
299
301
iftool_calls:
300
302
ifformat:
301
303
FancyLogger.get_logger().warning(
302
304
f"Tool calling typically uses constrained generation, but you have specified a `format` in your generate call. NB: tool calling is superseded by format; we will NOT call tools for your request: {action}"
0 commit comments