jedick commited on
Commit
30fd51f
·
1 Parent(s): f52b66d

Remove print statements

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. mods/tool_calling_llm.py +0 -3
app.py CHANGED
@@ -443,7 +443,7 @@ with gr.Blocks(
443
  elem_id="example-questions",
444
  )
445
  multi_tool_questions = [
446
- "Differences between lapply and for loops",
447
  "Compare usage of pipe operator between 2022 and 2024",
448
  ]
449
  gr.Examples(
@@ -454,7 +454,7 @@ with gr.Blocks(
454
  )
455
  multi_turn_questions = [
456
  "Lookup emails that reference bugs.r-project.org in 2025",
457
- "Did those authors report bugs before 2025? /think",
458
  ]
459
  gr.Examples(
460
  examples=[[q] for q in multi_turn_questions],
 
443
  elem_id="example-questions",
444
  )
445
  multi_tool_questions = [
446
+ "Differences between lapply and for loops /think",
447
  "Compare usage of pipe operator between 2022 and 2024",
448
  ]
449
  gr.Examples(
 
454
  )
455
  multi_turn_questions = [
456
  "Lookup emails that reference bugs.r-project.org in 2025",
457
+ "Did those authors report bugs before 2025?",
458
  ]
459
  gr.Examples(
460
  examples=[[q] for q in multi_turn_questions],
mods/tool_calling_llm.py CHANGED
@@ -177,9 +177,6 @@ class ToolCallingLLM(BaseChatModel, ABC):
177
  # Extract <think>...</think> content and text after </think> for further processing 20250726 jmd
178
  think_text, post_think = extract_think(response_message.content)
179
 
180
- print("post_think")
181
- print(post_think)
182
-
183
  # Parse output for JSON (support multiple objects separated by commas)
184
  try:
185
  parsed_json_results = json.loads(f"[{post_think}]")
 
177
  # Extract <think>...</think> content and text after </think> for further processing 20250726 jmd
178
  think_text, post_think = extract_think(response_message.content)
179
 
 
 
 
180
  # Parse output for JSON (support multiple objects separated by commas)
181
  try:
182
  parsed_json_results = json.loads(f"[{post_think}]")