MCPcopy Create free account
hub / github.com/chenfei-wu/TaskMatrix / test_extend_workflow

Function test_extend_workflow

LowCodeLLM/src/test/test_extend_workflow.py:10–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8sys.path.append(os.getcwd())
9
10def test_extend_workflow():
11 from lowCodeLLM import lowCodeLLM
12 cases = json.load(open("./test/testcases/extend_workflow_test_cases.json", "r"))
13 llm = lowCodeLLM(0.5, 0)
14 for c in cases:
15 task_prompt = c["task_prompt"]
16 current_workflow = c["current_workflow"]
17 step = c["step"]
18 result = llm.extend_workflow(task_prompt, current_workflow, step)
19 time.sleep(5)
20 assert len(json.loads(result)) >= 1

Callers

nothing calls this directly

Calls 2

lowCodeLLMClass · 0.90
extend_workflowMethod · 0.45

Tested by

no test coverage detected