feat: add configurable client tools and photo input

This commit is contained in:
Xin Wang
2026-07-30 19:06:03 +08:00
parent 510a277b5a
commit 913435785e
24 changed files with 1802 additions and 139 deletions

View File

@@ -34,9 +34,11 @@ from services.workflow.models import LLMRouteResult, RouteStatus
class FakeLLM:
def __init__(self):
self.functions = {}
self.function_options = {}
def register_function(self, name, handler):
def register_function(self, name, handler, **options):
self.functions[name] = handler
self.function_options[name] = options
class FakeCallEnd: