Commits
Click on a commit to change the comparison rangerefactor(tools): overhaul Python REPL component with modern tool mode
BREAKING CHANGE: Complete redesign of PythonREPL component architecture
- Replace legacy tool mode with modern tool_mode=true implementation
- Add automatic import detection for both global and from-imports
- Remove manual global_imports field in favor of automatic detection
- Implement CodeInput type support with FieldTypes.CODE
- Update schema to handle new parameters for agent compatibility
- Improve error handling and logging for import failures
The component now automatically handles imports without manual configuration,
supports modern tool mode, and provides better integration with the agent
system through updated schema definitions. Merge branch 'main' into python-REPL-Overhaul [autofix.ci] apply automated fixes1 year ago
by autofix-ci[bot] test(python-repl): update component test to match current implementation
- Remove assertions for deprecated outputs (api_run_model, api_build_tool)
- Add assertions for current 'results' output
- Add detailed input validation tests for global_imports and python_code
- Verify input configurations including type, default values, and required status
- Ensure component template structure matches frontend requirements
This change aligns the test suite with the current PythonREPLToolComponent
implementation, improving test coverage and maintaining component reliability. [autofix.ci] apply automated fixes1 year ago
by autofix-ci[bot] Merge branch 'python-REPL-Overhaul' of https://github.com/Vigtu/langflow into python-REPL-Overhaul Merge branch 'main' into python-REPL-Overhaul1 year ago
by edwinjosechittilappilly style(python-repl): format description string to follow PEP 8 guidelines Merge branch 'main' into python-REPL-Overhaul1 year ago
by edwinjosechittilappilly Merge branch 'main' into python-REPL-Overhaul1 year ago
by edwinjosechittilappilly