motleycrew.common.aux_prompts

Classes

AuxPrompts()

Singleton containing miscellaneous auxiliary prompts.

class motleycrew.common.aux_prompts.AuxPrompts

Bases: object

Singleton containing miscellaneous auxiliary prompts. In rare cases where you need to customize these, you can modify them before instantiating your agents.

DIRECT_OUTPUT_ERROR_WITH_SINGLE_OUTPUT_HANDLER = 'You made a mistake by returning plain text instead of calling a tool. If you need to finish, you must call the `{output_handler}` tool.'
DIRECT_OUTPUT_ERROR_WITH_MULTIPLE_OUTPUT_HANDLERS = 'You made a mistake by returning plain text instead of calling a tool. You must call one of the following tools to return the final output: {output_handlers}'
AMBIGUOUS_OUTPUT_HANDLER_CALL_ERROR = 'You attempted to return output by calling `{current_output_handler}` tool, but included other tool calls in your response. You must only call one of the following tools to return: {output_handlers}.'
static get_direct_output_error_message(output_handlers: List[MotleyTool]) str
static get_ambiguous_output_handler_call_error_message(current_output_handler: MotleyTool, output_handlers: List[MotleyTool]) str