fix: guard span name to always be a non-empty string
This commit is contained in:
@@ -173,7 +173,7 @@ const plugin: Plugin = async ({ project, directory, worktree }) => {
|
||||
state.endToolCall(
|
||||
input.callID,
|
||||
truncate(output.output ?? "", config.maxOutputLength),
|
||||
output.title ?? input.tool,
|
||||
output.title ?? input.tool ?? "unknown-tool",
|
||||
output.metadata as unknown,
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user