sky-dev 0.0.8__tar.gz → 0.0.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sky_dev-0.0.8 → sky_dev-0.0.9}/CHANGELOG.md +5 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/PKG-INFO +1 -1
- {sky_dev-0.0.8 → sky_dev-0.0.9}/pyproject.toml +1 -1
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/__init__.py +1 -1
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/cli.py +4 -5
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky_dev.egg-info/PKG-INFO +1 -1
- {sky_dev-0.0.8 → sky_dev-0.0.9}/.env.example +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/CONTRIBUTING.md +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/LICENSE +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/MANIFEST.in +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/README.md +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/SECURITY.md +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/setup.cfg +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/config/__init__.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/config/models.yaml +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/config/schema.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/core/__init__.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/core/approval.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/core/benchmark.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/core/chat.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/core/fast_loop.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/core/mode_prompts.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/core/router.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/core/subagent.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/core/workflow.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/errors.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/memory/__init__.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/memory/indexer.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/memory/vectorstore.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/security/__init__.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/security/audit.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/security/detection.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/security/guardrails.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/security/prompts.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/security/rate_limit.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/security/sanitize.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/storage/__init__.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/storage/db.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/tools/__init__.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/tools/fs_tools.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/tools/git_tools.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/tools/registry.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/tools/search_tools.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky/tools/shell_tools.py +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky_dev.egg-info/SOURCES.txt +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky_dev.egg-info/dependency_links.txt +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky_dev.egg-info/entry_points.txt +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky_dev.egg-info/requires.txt +0 -0
- {sky_dev-0.0.8 → sky_dev-0.0.9}/sky_dev.egg-info/top_level.txt +0 -0
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to Sky will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.0.9] - 2024-05-XX
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
- Fixed critical bug where `sky check-providers` and `sky chat` failed to locate `.env` when installed globally. `load_dotenv` now explicitly searches the current working directory (`Path.cwd() / ".env"`).
|
|
9
|
+
|
|
5
10
|
## [0.0.8] - 2024-05-XX
|
|
6
11
|
|
|
7
12
|
### Fixed
|
|
@@ -68,7 +68,7 @@ def main(
|
|
|
68
68
|
|
|
69
69
|
async def _run_loop(mode: str, prompt: str, inject_context: bool = False, quiet: bool = False, verbose: bool = False, max_turns: int = 20):
|
|
70
70
|
from dotenv import load_dotenv
|
|
71
|
-
load_dotenv()
|
|
71
|
+
load_dotenv(Path.cwd() / ".env", override=True)
|
|
72
72
|
|
|
73
73
|
from sky.config import load_config, load_models_config
|
|
74
74
|
from sky.core.approval import ApprovalGate
|
|
@@ -231,7 +231,7 @@ def chat(
|
|
|
231
231
|
from dotenv import load_dotenv
|
|
232
232
|
import pydantic
|
|
233
233
|
|
|
234
|
-
load_dotenv()
|
|
234
|
+
load_dotenv(Path.cwd() / ".env", override=True)
|
|
235
235
|
try:
|
|
236
236
|
config = load_config()
|
|
237
237
|
except pydantic.ValidationError as e:
|
|
@@ -584,7 +584,7 @@ def workflow(
|
|
|
584
584
|
from sky.storage import get_db
|
|
585
585
|
from dotenv import load_dotenv
|
|
586
586
|
import pydantic
|
|
587
|
-
load_dotenv()
|
|
587
|
+
load_dotenv(Path.cwd() / ".env", override=True)
|
|
588
588
|
|
|
589
589
|
if not quiet:
|
|
590
590
|
console.print(f"[bold blue]Starting WORKFLOW mode...[/bold blue]")
|
|
@@ -843,8 +843,7 @@ def check_providers():
|
|
|
843
843
|
from sky.errors import ProviderError, SkyError
|
|
844
844
|
import pydantic
|
|
845
845
|
|
|
846
|
-
load_dotenv(override=True)
|
|
847
|
-
console.print(f"DEBUG: NVIDIA_NIM_API_KEY={os.getenv('NVIDIA_NIM_API_KEY')}")
|
|
846
|
+
load_dotenv(Path.cwd() / ".env", override=True)
|
|
848
847
|
console.print("[bold blue]Checking Providers...[/bold blue]\n")
|
|
849
848
|
|
|
850
849
|
try:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|