-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node meta hook/fix server hook bug #344
Node meta hook/fix server hook bug #344
Conversation
2. Add fastapi server for repot_url
lazyllm/engine/engine.py
Outdated
elif isinstance(module, lazyllm.LazyLLMFlowsBase): | ||
NodeMetaHook.MODULEID_TO_WIDGETID[module._flow_id] = node.id | ||
else: | ||
if not isinstance(module, (lazyllm.ModuleBase, lazyllm.LazyLLMFlowsBase)): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if not 改成if
tests/basic_tests/test_engine.py
Outdated
async def receive_json(data: dict): | ||
print("Received json data:", data) | ||
assert "prompt_tokens" in data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
在主进程里面检查,因为这里检查没用;此外去掉打印
tests/basic_tests/test_engine.py
Outdated
def test_data_reflow_in_server(self): | ||
nodes = [ | ||
{ | ||
"id": "debug-48f9e95a-e54c-4812-a41b-f61f635816b8-1731324014737", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
id和name可读
No description provided.