kenken999 commited on
Commit
f274c38
·
1 Parent(s): 599eeec
chat_history.db CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c595f36469c422bab2a83eacfd24ccfd136930192ddce74cc41b5a97188d4074
3
- size 1736704
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbf65b1a4e9c81b977f63986a6828ae36e87b36e121c5fcf032b49bb003abdc3
3
+ size 1744896
controllers/gra_02_openInterpreter/OpenInterpreter.py CHANGED
@@ -39,6 +39,11 @@ def format_response(chunk, full_response):
39
  console_content = str(console_content)
40
  print(f"Converted console_content to string: {console_content}")
41
 
 
 
 
 
 
42
  # バッククオートを削除
43
  console_content = console_content.replace("`", "")
44
 
 
39
  console_content = str(console_content)
40
  print(f"Converted console_content to string: {console_content}")
41
 
42
+ # 不要な内容のフィルタリング
43
+ if console_content.isdigit() or console_content.strip().lower() == "none":
44
+ print(f"Skipping unwanted console content: {console_content}")
45
+ return full_response
46
+
47
  # バッククオートを削除
48
  console_content = console_content.replace("`", "")
49