heymenn commited on
Commit
af1882e
·
verified ·
1 Parent(s): 2b54433

Update kig_core/planner.py

Browse files
Files changed (1) hide show
  1. 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 = llm_invoke(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}")
 
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}")