Skip to content

Commit 14b3b74

Browse files
authored
Merge pull request #572 from lbedner/v0.6.7-rc2
Fix Ollama Bug
2 parents b63151f + c13430d commit 14b3b74

6 files changed

Lines changed: 8 additions & 12 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Each generated project includes:
3232

3333
## Installation
3434

35-
**Current Version**: 0.6.7rc1
35+
**Current Version**: 0.6.7rc2
3636

3737
```bash
3838
pip install aegis-stack

aegis/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
Aegis Stack CLI - Component generation and project management tools.
33
"""
44

5-
__version__ = "0.6.7rc1"
5+
__version__ = "0.6.7rc2"

aegis/templates/copier-aegis-project/{{ project_slug }}/app/services/ai/etl/llm_sync_service.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,9 @@
3333

3434
try:
3535
from app.services.ai.ollama import OllamaClient, OllamaModel
36-
except ModuleNotFoundError:
37-
# Ollama module not generated (ollama_mode is "none")
38-
OllamaClient = None # type: ignore[assignment, misc]
39-
OllamaModel = None # type: ignore[assignment, misc]
40-
except ImportError as exc:
41-
# Unexpected import error (e.g., missing dependency inside Ollama module)
42-
logger.warning("Failed to import Ollama module: %s", exc)
36+
except (ModuleNotFoundError, ImportError):
37+
# Ollama module not generated or empty (ollama_mode is "none"),
38+
# or missing dependency — either way, gracefully degrade
4339
OllamaClient = None # type: ignore[assignment, misc]
4440
OllamaModel = None # type: ignore[assignment, misc]
4541

copier.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# - Update support
77

88
_min_copier_version: "9.0.0"
9-
_version: "0.6.7rc1"
9+
_version: "0.6.7rc2"
1010

1111
# IMPORTANT: Template content is in subdirectory
1212
# This allows the template to be recognized as git-tracked (aegis-stack repo root has .git)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "aegis-stack"
3-
version = "0.6.7rc1"
3+
version = "0.6.7rc2"
44
description = "A production-ready FastAPI platform with modular components and a built-in control plane. Try: uvx aegis-stack init my-project"
55
readme = "README.md"
66
requires-python = ">=3.11,<3.15"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)