We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0ca21d commit 1b1629dCopy full SHA for 1b1629d
tools/main/main.cpp
@@ -104,12 +104,15 @@ class partial_formatter {
104
std::vector<output> result;
105
for (const auto & diff : diffs) {
106
if (!diff.reasoning_content_delta.empty()) {
107
+ if (!had_reasoning) {
108
+ result.push_back({"Thinking... ", REASONING});
109
+ }
110
result.push_back({diff.reasoning_content_delta, REASONING});
111
had_reasoning = true;
112
}
113
if (!diff.content_delta.empty()) {
114
if (had_reasoning) {
- result.push_back({"\n", REASONING});
115
+ result.push_back({" ...\n", REASONING});
116
had_reasoning = false;
117
118
result.push_back({diff.content_delta, CONTENT});
0 commit comments