Spaces:
Sleeping
Sleeping
Update src/chat_langraph.py
Browse files- src/chat_langraph.py +1 -1
src/chat_langraph.py
CHANGED
|
@@ -114,7 +114,7 @@ def write_file(name: str, extension: str, content: str) -> str:
|
|
| 114 |
path = f"/tmp/{name}.{extension}" # Save in /tmp
|
| 115 |
with open(path, "w", encoding="utf-8") as f:
|
| 116 |
f.write(content)
|
| 117 |
-
return f"{path}"
|
| 118 |
except Exception as e:
|
| 119 |
return f"Error writing file: {e}"
|
| 120 |
|
|
|
|
| 114 |
path = f"/tmp/{name}.{extension}" # Save in /tmp
|
| 115 |
with open(path, "w", encoding="utf-8") as f:
|
| 116 |
f.write(content)
|
| 117 |
+
return f"Filepath:{path}"
|
| 118 |
except Exception as e:
|
| 119 |
return f"Error writing file: {e}"
|
| 120 |
|