return van askQuestion aangepast
This commit is contained in:
@@ -107,21 +107,6 @@ class DeveloperAgent(private val giteaService: GiteaService) {
|
||||
)
|
||||
}
|
||||
|
||||
// Create the agent
|
||||
// val agent = AIAgent(
|
||||
// promptExecutor = promptExecutor,
|
||||
// toolRegistry = toolRegistry,
|
||||
// strategy = agentStrategy,
|
||||
// agentConfig = agentConfig,
|
||||
// installFeatures = {
|
||||
// install(EventHandler) {
|
||||
// onAgentCompleted { it ->
|
||||
// log.info("Result: ${it.result}")
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// )
|
||||
|
||||
fun createAgent(): AIAgent<String, String> {
|
||||
return AIAgent(
|
||||
promptExecutor = promptExecutor,
|
||||
|
||||
@@ -29,6 +29,6 @@ class ProjectTool(private val giteaService: GiteaService): ToolSet {
|
||||
log.info("role: $role question: $question")
|
||||
|
||||
giteaService.addComment(taskNumber, question)
|
||||
return "Question is send to $role. Do not ask any more questions until this question is answered!"
|
||||
return "Question is send to $role. Do not ask any more questions until this question is answered! For now you are done!"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user