(
&self,
input: PromptInput,
session: &mut Session,
provider: Arc<dyn Provider>,
system_prompt: Option<String>,
tools: Vec<ToolDefinition>,
agen
| 765 | } |
| 766 | |
| 767 | pub async fn prompt( |
| 768 | &self, |
| 769 | input: PromptInput, |
| 770 | session: &mut Session, |
| 771 | provider: Arc<dyn Provider>, |
| 772 | system_prompt: Option<String>, |
| 773 | tools: Vec<ToolDefinition>, |
| 774 | agent_params: AgentParams, |
| 775 | ) -> anyhow::Result<()> { |
| 776 | self.prompt_with_update_hook( |
| 777 | input, |
| 778 | session, |
| 779 | provider, |
| 780 | system_prompt, |
| 781 | tools, |
| 782 | agent_params, |
| 783 | None, |
| 784 | ) |
| 785 | .await |
| 786 | } |
| 787 | |
| 788 | pub async fn prompt_with_update_hook( |
| 789 | &self, |
nothing calls this directly
no test coverage detected