roger33303 commited on
Commit
4207847
Β·
verified Β·
1 Parent(s): d0df9b1

Update patch_langmem.py

Browse files
Files changed (1) hide show
  1. patch_langmem.py +2 -2
patch_langmem.py CHANGED
@@ -21,7 +21,7 @@ def patch_langmem_for_python310():
21
  file.write(content)
22
  print("βœ… Patched extraction.py")
23
  else:
24
- print("βœ… extraction.py already patched or not using NotRequired")
25
 
26
  # === PATCH tools.py ===
27
  if os.path.exists(tools_path):
@@ -38,6 +38,6 @@ def patch_langmem_for_python310():
38
  file.write(content)
39
  print("βœ… Patched tools.py")
40
  else:
41
- print("βœ… tools.py already patched or does not need fix")
42
 
43
  patch_langmem_for_python310()
 
21
  file.write(content)
22
  print("βœ… Patched extraction.py")
23
  else:
24
+ print("βœ… extraction.py already patched")
25
 
26
  # === PATCH tools.py ===
27
  if os.path.exists(tools_path):
 
38
  file.write(content)
39
  print("βœ… Patched tools.py")
40
  else:
41
+ print("βœ… tools.py already patched")
42
 
43
  patch_langmem_for_python310()