Spaces:
Sleeping
Sleeping
Update kig_core/planner.py
Browse files- kig_core/planner.py +1 -1
kig_core/planner.py
CHANGED
@@ -173,7 +173,7 @@ def generate_structured_issues(state: PlannerState) -> Dict[str, Any]:
|
|
173 |
raw_output = "Could not retrieve raw output."
|
174 |
try:
|
175 |
raw_chain = prompt | issue_llm | StrOutputParser()
|
176 |
-
raw_output =
|
177 |
logger.debug(f"Raw output from failed JSON parsing:\n{raw_output}")
|
178 |
except Exception as raw_e:
|
179 |
logger.error(f"Could not even get raw output: {raw_e}")
|
|
|
173 |
raw_output = "Could not retrieve raw output."
|
174 |
try:
|
175 |
raw_chain = prompt | issue_llm | StrOutputParser()
|
176 |
+
raw_output = invoke_llm(raw_chain,{"user_query": user_query, "context": full_context})
|
177 |
logger.debug(f"Raw output from failed JSON parsing:\n{raw_output}")
|
178 |
except Exception as raw_e:
|
179 |
logger.error(f"Could not even get raw output: {raw_e}")
|