Commit 7b0eb6f
Revise coaiapy-mcp to use library imports instead of subprocess
Updated IMPLEMENTATION_PLAN.md to specify library import approach
instead of subprocess CLI wrappers. This avoids environment variable
propagation issues and provides cleaner, faster implementation.
Key changes:
- Architecture: Direct imports from coaiapy, langfuse, redis libraries
- Configuration: Load from coaiapy.coaiamodule.load_config() once
- Tools: Call library functions directly (no subprocess.run())
- Benefits: Faster, cleaner error handling, no env var issues
Closes #44
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 7b42265 commit 7b0eb6f
1 file changed
+342
-333
lines changed
0 commit comments