(
fields: AgentExecutorInput & { sessionId?: string; chatId?: string; input?: string; isXML?: boolean }
)
| 334 | } |
| 335 | |
| 336 | static fromAgentAndTools( |
| 337 | fields: AgentExecutorInput & { sessionId?: string; chatId?: string; input?: string; isXML?: boolean } |
| 338 | ): AgentExecutor { |
| 339 | const newInstance = new AgentExecutor(fields) |
| 340 | if (fields.sessionId) newInstance.sessionId = fields.sessionId |
| 341 | if (fields.chatId) newInstance.chatId = fields.chatId |
| 342 | if (fields.input) newInstance.input = fields.input |
| 343 | if (fields.isXML) newInstance.isXML = fields.isXML |
| 344 | return newInstance |
| 345 | } |
| 346 | |
| 347 | get shouldContinueGetter() { |
| 348 | return this.shouldContinue.bind(this) |
no outgoing calls
no test coverage detected