Use Docker path in containers, user-writable path on local hosts.
()
| 29 | |
| 30 | |
| 31 | def _default_agent_data_dir() -> str: |
| 32 | """Use Docker path in containers, user-writable path on local hosts.""" |
| 33 | if _running_in_container(): |
| 34 | return "/data/agents" |
| 35 | return str(Path.home() / ".clawith" / "data" / "agents") |
| 36 | |
| 37 | |
| 38 | def _default_instance_id() -> str: |
no test coverage detected