Skip to content

Python: Add include_detailed_errors option for skill script execution #6681

Description

@SergeyMenshykh

Port the .NET fix from #6680 to Python.

The Python AgentSkillsProvider still swallows exceptions and returns a generic error string for script execution and resource reading, so the model can't self-correct. The .NET side addressed this in #6680 by adding an IncludeDetailedErrors option (script path rethrows by default, or surfaces the exception message when enabled) and rethrowing for resource reads.

This needs to be ported to Python.

Related: #6301

Metadata

Metadata

Assignees

Labels

.NETUsage: [Issues, PRs], Target: .NetpythonUsage: [Issues, PRs], Target: PythonskillsUsage: [Issues, PRs], Target: skills related features

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions