SimpleChatTC: Show toolcall being generated by ai - Temp
This commit is contained in:
parent
e73bc4550b
commit
5a26831ad2
|
|
@ -443,7 +443,11 @@ class SimpleChat {
|
||||||
console.debug("DBUG:SC:PART:Json:", curJson);
|
console.debug("DBUG:SC:PART:Json:", curJson);
|
||||||
this.append_response(this.response_extract_stream(curJson, apiEP));
|
this.append_response(this.response_extract_stream(curJson, apiEP));
|
||||||
}
|
}
|
||||||
elP.innerText = this.latestResponse.content;
|
if (this.latestResponse.content !== "") {
|
||||||
|
elP.innerText = this.latestResponse.content;
|
||||||
|
} else {
|
||||||
|
elP.innerText = `ToolCall:${this.latestResponse.toolname}:${this.latestResponse.toolargs}`;
|
||||||
|
}
|
||||||
elP.scrollIntoView(false);
|
elP.scrollIntoView(false);
|
||||||
if (done) {
|
if (done) {
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue