Spaces:
Running
Running
Update kig_core/planner.py
Browse files- kig_core/planner.py +2 -2
kig_core/planner.py
CHANGED
@@ -139,10 +139,10 @@ def generate_structured_issues(state: PlannerState) -> Dict[str, Any]:
|
|
139 |
chain = prompt | issue_llm | output_parser
|
140 |
|
141 |
try:
|
142 |
-
structured_issues = chain.invoke({
|
143 |
"user_query": user_query,
|
144 |
"context": full_context
|
145 |
-
})
|
146 |
|
147 |
# Ensure IDs are sequential if the LLM didn't assign them correctly
|
148 |
for i, issue in enumerate(structured_issues):
|
|
|
139 |
chain = prompt | issue_llm | output_parser
|
140 |
|
141 |
try:
|
142 |
+
structured_issues = chain.invoke({{
|
143 |
"user_query": user_query,
|
144 |
"context": full_context
|
145 |
+
}})
|
146 |
|
147 |
# Ensure IDs are sequential if the LLM didn't assign them correctly
|
148 |
for i, issue in enumerate(structured_issues):
|