expand
Method
This is a method of the PromptExpanderAgent class in the prompt_expander_agent module.Expand a prompt using the specified strategy. All operations go through an internal Agent which automatically handles tool calling when tools are provided. The agent decides when to use tools based on the prompt context.
Signature
Parameters
The original user prompt
Expansion strategy to use
Additional context to help with expansion
Returns
ExpandResult containing the expanded prompt

