agents.planning_v2.base.planner.promptsΒΆ
Prompts for the planner agent.
FunctionsΒΆ
|
Create a planner prompt with optional context. |
Module ContentsΒΆ
- agents.planning_v2.base.planner.prompts.create_planner_prompt(context=None)ΒΆ
Create a planner prompt with optional context.
- Parameters:
context (str | None) β Optional context string to include in the prompt
- Returns:
ChatPromptTemplate with context section populated if provided
- Return type:
langchain_core.prompts.ChatPromptTemplate