return van askQuestion aangepast

This commit is contained in:
2025-10-13 21:01:27 +02:00
parent 43ba49a1aa
commit 4864acda1d
2 changed files with 1 additions and 16 deletions

View File

@@ -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> { fun createAgent(): AIAgent<String, String> {
return AIAgent( return AIAgent(
promptExecutor = promptExecutor, promptExecutor = promptExecutor,

View File

@@ -29,6 +29,6 @@ class ProjectTool(private val giteaService: GiteaService): ToolSet {
log.info("role: $role question: $question") log.info("role: $role question: $question")
giteaService.addComment(taskNumber, 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!"
} }
} }