diff --git a/.gitignore b/.gitignore index e1ccc90..b91a19d 100755 --- a/.gitignore +++ b/.gitignore @@ -28,7 +28,8 @@ memo.txt site/ _logs/ -.cache +.logs/ +.cache/ __pycache__ .ruff_cache/ .pytest_cache/ diff --git a/README.md b/README.md index 7874b9d..773a476 100755 --- a/README.md +++ b/README.md @@ -334,7 +334,7 @@ src/ │ └── uploads/ [.gitignore] # Local directory to store uploaded files such as graphviz diagrams generatd by `Network` class │ -└── _logs/ [.gitignore] # Local directory to store error/warning logs for debugging +└── .logs/ [.gitignore] # Local directory to store error/warning logs for debugging │ │ pyproject.toml # Project config @@ -510,7 +510,7 @@ Common issues and solutions: * Issues related to dependencies: `rm -rf uv.lock`, `uv cache clean`, `uv venv`, and run `uv pip install -r requirements.txt -v`. -* Issues related to agents and other systems: Check `_logs` directory for detailed error messages and stack traces. +* Issues related to agents and other systems: Check `.logs` directory located in the root directory for error messages and stack traces. * Issues related to `Python quit unexpectedly`: Check [this stackoverflow article](https://stackoverflow.com/questions/59888499/macos-catalina-python-quit-unexpectedly-error). diff --git a/docs/index.md b/docs/index.md index b8cdfac..a787140 100644 --- a/docs/index.md +++ b/docs/index.md @@ -257,7 +257,7 @@ Common issues and solutions: * Issues related to dependencies: `rm -rf uv.lock`, `uv cache clean`, `uv venv`, and run `uv pip install -r requirements.txt -v`. -* Issues related to agents and other systems: Check `_logs` directory for detailed error messages and stack traces. +* Issues related to agents and other systems: Check `.logs` directory located in the root directory for detailed error messages and stack traces. * Issues related to `Python quit unexpectedly`: Check [this stackoverflow article](https://stackoverflow.com/questions/59888499/macos-catalina-python-quit-unexpectedly-error). diff --git a/pyproject.toml b/pyproject.toml index c744d60..47861e6 100755 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ exclude = ["test*", "__pycache__", "*.egg-info"] [project] name = "versionhq" -version = "1.2.1.4" +version = "1.2.1.5" authors = [{ name = "Kuriko Iwai", email = "kuriko@versi0n.io" }] description = "An agentic orchestration framework for building agent networks that handle task automation." readme = "README.md" diff --git a/src/versionhq/__init__.py b/src/versionhq/__init__.py index 95bf8a9..15588d1 100755 --- a/src/versionhq/__init__.py +++ b/src/versionhq/__init__.py @@ -30,7 +30,7 @@ from versionhq.task.formation import form_agent_network -__version__ = "1.2.1.4" +__version__ = "1.2.1.5" __all__ = [ "Agent", diff --git a/src/versionhq/_utils/logger.py b/src/versionhq/_utils/logger.py index 4c78d39..658cc61 100755 --- a/src/versionhq/_utils/logger.py +++ b/src/versionhq/_utils/logger.py @@ -72,7 +72,7 @@ def _save(self, level: str, message: str, filename: str = None): pass cwd = Path.cwd() - log_file_dir = f"{cwd}/_logs" + log_file_dir = f"{cwd}/.logs" os.makedirs(log_file_dir, exist_ok=True) filename = filename if filename else datetime.now().strftime('%H_%M_%S_%d_%m_%Y') abs_dir = f"{log_file_dir}/{filename}.log"