fix: added specific ai-exchange version and check path is None to avoid error after starting goose (#174)

This commit is contained in:
Lifei Zhou
2024-10-21 11:21:09 +11:00
committed by GitHub
parent d0f7360159
commit d3a88b677a
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "ai-exchange"
version = "0.9.7"
version = "0.9.8"
description = "a uniform python SDK for message generation with LLMs"
readme = "README.md"
requires-python = ">=3.10"
@@ -48,7 +48,7 @@ def auth_check() -> bool:
CURRENT_DIR = Path(__file__).parent
PACKAGE_ROOT = find_package_root(CURRENT_DIR)
LANGFUSE_ENV_FILE = os.path.join(PACKAGE_ROOT, ".env.langfuse.local")
LANGFUSE_ENV_FILE = os.path.join(PACKAGE_ROOT, ".env.langfuse.local") if PACKAGE_ROOT else None
HAS_LANGFUSE_CREDENTIALS = False
load_dotenv(LANGFUSE_ENV_FILE, override=True)
+2 -2
View File
@@ -1,11 +1,11 @@
[project]
name = "goose-ai"
description = "a programming agent that runs on your machine"
version = "0.9.7"
version = "0.9.8"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"ai-exchange",
"ai-exchange==0.9.8",
"attrs>=23.2.0",
"rich>=13.7.1",
"ruamel-yaml>=0.18.6",