Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions agent_core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
)
from agent_core.core.embedding_interface import EmbeddingInterface
from agent_core.core.vlm_interface import VLMInterface
from agent_core.core.image_gen_interface import ImageGenInterface
from agent_core.core.database_interface import DatabaseInterface
from agent_core.core.trigger import Trigger
from agent_core.core.task import Task, TodoItem, TodoStatus
Expand Down Expand Up @@ -272,6 +273,7 @@
# Interfaces
"EmbeddingInterface",
"VLMInterface",
"ImageGenInterface",
"DatabaseInterface",
"GeminiClient",
"GeminiAPIError",
Expand Down
12 changes: 12 additions & 0 deletions agent_core/core/image_gen_interface.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
"""
Image generation interface.

Re-exports ImageGenInterface from the impl module for backward compatibility.
Use the runtime-specific wrapper (app/image_gen_interface.py) when running
inside CraftBot — it injects the appropriate state and usage hooks.
"""

from agent_core.core.impl.image_gen import ImageGenInterface

__all__ = ["ImageGenInterface"]
6 changes: 6 additions & 0 deletions agent_core/core/impl/image_gen/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# -*- coding: utf-8 -*-
"""Image generation interface package."""

from agent_core.core.impl.image_gen.interface import ImageGenInterface

__all__ = ["ImageGenInterface"]
Loading