Change default source_file context to 50 lines.

This commit is contained in:
Bartosz Taudul
2026-01-07 17:03:03 +01:00
parent 26c5999a6e
commit 2903fcabe4

View File

@@ -163,7 +163,7 @@ TracyLlmTools::ToolReply TracyLlmTools::HandleToolCalls( const std::string& tool
}
else if( tool == "source_file" )
{
return { .reply = SourceFile( Param( "file" ), ParamU32( "line" ), ParamOptU32( "context", 5 ) ) };
return { .reply = SourceFile( Param( "file" ), ParamU32( "line" ), ParamOptU32( "context", 50 ) ) };
}
return { .reply = "Unknown tool call: " + tool };
}