dawid-lorek commited on
Commit
30a91c5
·
verified ·
1 Parent(s): 24ba7a7

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +2 -4
agent.py CHANGED
@@ -127,11 +127,9 @@ def answer_question(question: str, task_id: str = None) -> str:
127
  non_comm.add(a)
128
  non_comm.add(b)
129
  result = ", ".join(sorted(non_comm))
130
- file_context += f"
131
- [Parsed Non-Commutative Set] {result}"
132
  except Exception as e:
133
- file_context += f"
134
- [Table Parse Error] {e}"
135
  # Parse table to extract non-commutative elements
136
  import re
137
  import pandas as pd
 
127
  non_comm.add(a)
128
  non_comm.add(b)
129
  result = ", ".join(sorted(non_comm))
130
+ file_context += f"[Parsed Non-Commutative Set] {result}"
 
131
  except Exception as e:
132
+ file_context += f"[Table Parse Error] {e}"
 
133
  # Parse table to extract non-commutative elements
134
  import re
135
  import pandas as pd