mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-19 00:01:33 +00:00
- Add BaseClient, BaseFileStore, BaseFileWatcher, BaseJob, BaseService, and BaseStep classes - Move component initialization logic from ApplicationContext to Application class - Add logo printing and logging initialization in Application startup - Create client module with base client implementation - Add file store base class with embedding resolution and validation - Implement file watcher base class with watchfiles integration - Add job base class for sequential step execution orchestration - Create service base class for job exposure mechanisms - Refactor BaseStep with LLM workflow execution capabilities - Add case converter utility for naming convention transformations - Update import structure and module organization - Add proper type hints and docstrings across all components - Implement component registry integration for dynamic loading - Add error handling for missing backend configurations
36 lines
783 B
Python
36 lines
783 B
Python
"""Components"""
|
|
|
|
from .application_context import ApplicationContext
|
|
from .base_component import BaseComponent
|
|
from .base_step import BaseStep
|
|
from .component_registry import ComponentRegistry, R
|
|
from .prompt_handler import PromptHandler
|
|
from .runtime_context import RuntimeContext
|
|
|
|
from . import as_llm
|
|
from . import as_llm_formatter
|
|
from . import client
|
|
from . import embedding
|
|
from . import file_store
|
|
from . import file_watcher
|
|
from . import job
|
|
from . import service
|
|
|
|
__all__ = [
|
|
"ApplicationContext",
|
|
"BaseComponent",
|
|
"BaseStep",
|
|
"ComponentRegistry",
|
|
"R",
|
|
"PromptHandler",
|
|
"RuntimeContext",
|
|
# base components
|
|
"as_llm",
|
|
"as_llm_formatter",
|
|
"client",
|
|
"embedding",
|
|
"file_store",
|
|
"file_watcher",
|
|
"job",
|
|
"service",
|
|
]
|