Attribute OpenCode code-mode tool calls, keep same-instant shown items in order, and record the chat tools notes
This commit is contained in:
@@ -98,7 +98,7 @@ func (s *chatToolService) session(ctx context.Context, token, tool string, argum
|
||||
return id, ""
|
||||
}
|
||||
if _, ok := strings.CutPrefix(scope, chatToolInstanceScope); ok && s.hub != nil {
|
||||
id, ambiguous := s.hub.awaitToolCallSession(ctx, chattools.HarnessToolNames(tool), arguments, chatToolCorrelationWait)
|
||||
id, ambiguous := s.hub.awaitToolCallSession(ctx, tool, arguments, chatToolCorrelationWait)
|
||||
if ambiguous {
|
||||
return "", "Pipelines could not tell which chat made this call (another chat made an identical one); retry with a different title."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user