Skip to content

Requirements Library: Create python_tool_requirements() factory function #1121

@akihikokuroda

Description

@akihikokuroda

Implement the python_tool_requirements() factory function that bundles the five generic requirements with configurable parameters.

Implementation

  • Create in mellea/stdlib/requirements/python_tools.py
  • Support allowed_imports, output_limit_chars, timeout_seconds, use_sandbox parameters

Tests & Documentation

  • Comprehensive docstring with Args, Returns, Raises, Examples sections
  • Test factory returns correct requirement instances
  • Test parameter propagation and various configuration combinations

Part of #1023

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions