Commit Graph
8 Commits
Author SHA1 Message Date
TashaSkyUp 7cf82171e5 Make environment management non-polluting and safe
This commit implements a clean architecture where environment variables
are only read, never set, ensuring compatibility with other ComfyUI
packages.

The changes: - Remove all code that sets global environment variables -
Clean up config.yaml to remove API key placeholders - Add documentation
for safe environment handling - Add comprehensive tests to verify
non-polluting behavior - Ensure backward compatibility for other
packages

The commit includes detailed docs explaining the clean architecture and
safety guarantees for package compatibility.
2025-06-25 17:22:53 -06:00
TashaSkyUp 40831eaa28 Add agent node docstrings, improve error handling, and update config
- Add detailed docstrings to AgentNode, BasicRecursionFilterNode, and
DocumentChunkRecursionFilterNode for clarity and documentation. -
Improve input validation and error handling in agent nodes. - Update
.gitignore to cover more environment, config, and IDE files. - Refactor
LiteLLMCustomEndpointProvider for custom API endpoints. - Add
conditional imports and dummy functions for LightRAG when unavailable. -
Update config.yaml to use environment variables for API keys and clarify
usage. - Refine requirements.txt to avoid heavy LightRAG dependencies. -
Add tests/__init__.py with test suite metadata; remove redundant test
files. - Fix CustomDict import and model config handling in
litellmnodes.py. - Improve chunk processing and recursion filter logic
in agent nodes. - Update utils/__init__.py to include env_config.
2025-06-24 17:47:36 -06:00
TashaSkyUp 9f0c0c0a22 possible fix for event loop being closed error 2025-03-02 12:45:22 -07:00
TashaSkyUp 62eba628db fix for async event loop missing 2025-01-06 23:23:13 -07:00
TashaSkyUp a487271576 adding chunk recursion filter 2025-01-05 14:34:22 -07:00
TashaSkyUp 32453b239d added ability to have an inner recursion filter on any basic recursion filter 2024-12-01 15:43:15 -07:00
TashaSkyUp a706ca1185 bugfix 2024-11-30 18:32:40 -07:00
TashaSkyUp a6dace5c82 added missing agents module 2024-11-28 10:39:07 -07:00