Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • package-registry-downcase
  • track-page-view-event-for-group-security-inventory
  • sf/feature/metric-visited-audit-log-page-480117
  • 523438-vue3-migration-related_issues_spec
  • feat/512677-path-lock-controller
  • DOCS-mmora-master-patch-37647
  • 522011-backfill-finish-onboarding-saml
  • tbulva-zoekt-multimatch-url-update-fix
  • 485051-sep-variables-incorrectly-assigned-for-multiple-rule-schedules
  • release-tools/update-kas
  • dakotadux/add-rest-api-to-update-status-of-external-requirement-controller
  • 519532-approvals-are-required-when-mr-pipelines-produce-no-security-artifacts-but-previous-branch
  • dblessing_unify_omniauth_code_paths
  • 450705-policies-policy-type
  • hacks4oats-master-patch-82f8
  • limit-language-syncing
  • sh-raise-token-encrypted-constraint
  • 451588-rm-tasksByType-defaultGroupLabels
  • Remove-Orphaned-Vulnerability-Notes
  • v17.7.6-ee protected
  • v17.8.4-ee protected
  • v17.9.1-ee protected
  • v17.8.3-ee protected
  • v17.7.5-ee protected
  • v17.9.0-ee protected
  • v17.9.0-rc42-ee protected
  • v17.6.5-ee protected
  • v17.7.4-ee protected
  • v17.8.2-ee protected
  • v17.6.4-ee protected
  • v17.7.3-ee protected
  • v17.8.1-ee protected
  • v17.8.0-ee protected
  • v17.7.2-ee protected
  • v17.8.0-rc42-ee protected
  • v17.5.5-ee protected
  • v17.6.3-ee protected
  • v17.7.1-ee protected
  • v17.7.0-ee protected
40 results

completion_worker.rb

  • Nicolas Dular's avatar
    d29b9c8b
    Do not broadcast AI responses twice · d29b9c8b
    Nicolas Dular authored
    When the Agent picks the `SummarizeComments` tool, we are internally
    calling the `GenerateSummaryService`, which also stores the response to
    the cache and broadcasts it via the GraphQL subscription.
    
    With `skip_cache: true` we were already able to not store the response
    to the cache. This change renames the `skip_cache` option to
    `internal_request` and also no longer broadcasts the response to the
    client, which resulted in duplicated responses in the chat.
    d29b9c8b
    History
    Do not broadcast AI responses twice
    Nicolas Dular authored
    When the Agent picks the `SummarizeComments` tool, we are internally
    calling the `GenerateSummaryService`, which also stores the response to
    the cache and broadcasts it via the GraphQL subscription.
    
    With `skip_cache: true` we were already able to not store the response
    to the cache. This change renames the `skip_cache` option to
    `internal_request` and also no longer broadcasts the response to the
    client, which resulted in duplicated responses in the chat.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.