Add explicit response logging for the branch where the model returns finish=stop with zero tool calls. This makes it easier to identify the natural-stop path early in logs and correlate rounds that are likely to be treated as final-answer candidates by analyzeResponse. - include `tool_calls=0` in the no-tool summary log - emit a dedicated "Natural-stop candidate detected" info log when finish_reason is stop and no tool calls are present |
||
|---|---|---|
| .. | ||
| memory | ||
| skills | ||
| token | ||
| tools | ||
| act.go | ||
| const.go | ||
| engine.go | ||
| engine_image_test.go | ||
| engine_test.go | ||
| finalize.go | ||
| langfuse_test.go | ||
| observe.go | ||
| observe_test.go | ||
| prompts.go | ||
| prompts_wiki.go | ||
| prompts_wiki_test.go | ||
| think.go | ||