8000 Feature/663 integrate khive by ohdearquant · Pull Request #671 · khive-ai/lionagi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Feature/663 integrate khive #671

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

ohdearquant
Copy link
Collaborator

No description provided.

Created new subdirectories (core, configs, exceptions, utils) under src/lionagi/ and moved relevant top-level files into them. Updated IP-663.md to v1.4 to reflect this re-modularization plan. This addresses architect feedback on issue #663 to re-introduce modularity. Import paths are not yet fixed.
…_N conflicts

Refactor project structure as per Issue #663 and user directive.

Key changes include:
- Updated IP-663.md to v1.5, reflecting the strategy to work with the flattened structure and focus on import/namespace consolidation.
- Resolved `adapters_2/` directory:
    - Moved Pydantic-centric CSV, JSON, and TOML adapters into `lionagi/adapters/`.
    - Updated `lionagi/adapters/__init__.py`.
    - Deleted `adapters_2/` and `lionagi/adapters/types.py`.
- Resolved `protocols_2/` directory:
    - Created `lionagi/core_utils.py` with utilities.
    - Created `lionagi/core_defs.py` with core Pydantic definitions (Embedding, Metadata, ExecutionStatus, Execution, StructuredLog, Embedable).
    - Created `lionagi/core_bases/` for base Pydantic models (Temporal, Invokable) with its `__init__.py`.
    - Created `lionagi/event_system/` for the functional event class and decorator, with its `__init__.py`.
    - Refactored `lionagi/protocols/generic/event.py` to use new core definitions.
    - Deleted `protocols_2/` and its contents.
- Deleted `__init___2.py`, `__init___3.py`, `__init___4.py` from `src/lionagi/`.
- Resolved `configs/config_2.py`: Moved `merge_configs` to `core_utils.py`, deleted `config_2.py`, and updated `configs/__init__.py`.
- Consolidated exception files: Merged content from `_errors.py`, `errors.py`, `exceptions.py` into `exceptions/definitions.py`, deleted old files, and updated `exceptions/__init__.py`.

The codebase structure is now significantly cleaner. The next major phase will be fixing all internal import paths.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0