refactor(Core): decompose handleResponse and add ToolCallingRender system
build / build (push) Has been cancelled
build / build (push) Has been cancelled
- Extract handleResponse into focused helpers: processToolCall, findTool, reportToolNotFound, renderToolCalling, executeToolCall - Introduce ToolCallingRender sealed interface (Suppress/Default/Custom) allowing tools to control how their invocations are rendered - Add printToolCalling to PrintAdvanceMessageHandler contract - Implement default tool calling rendering in PrintMessageHandler (blue text) - Add WriteFileTool for file writing capabilities - Fix "responce" → "response" typo across Java and Python files - Improve PythonRunner docker error handling and output messages - Update Gradle test configuration (maxHeapSize, test logging) Signed-off-by: zacharias <alienfromdia@proton.me>
This commit is contained in:
+8
-1
@@ -25,10 +25,17 @@ subprojects {
|
||||
implementation("org.jetbrains:annotations:23.1.0")
|
||||
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.0'
|
||||
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
||||
}
|
||||
|
||||
test {
|
||||
tasks.named('test', Test) {
|
||||
useJUnitPlatform()
|
||||
|
||||
maxHeapSize = '1G'
|
||||
|
||||
testLogging {
|
||||
events "passed"
|
||||
}
|
||||
}
|
||||
|
||||
task sourcesJar(type: Jar, dependsOn: classes) {
|
||||
|
||||
Reference in New Issue
Block a user