Skip to content

Sandbox prompt denies host-registered delivery tools when no ArtifactDeliveryTarget is configured #4352

Done

Description

@Buktal

Bug

In sandbox mode without a configured ArtifactDeliveryTarget, the workspace paragraph of the system prompt states:

No artifact delivery tool is configured. Files remain in the configured execution backend; describe their location and any retrieval work still needed.

artifactDeliveryEnabled only reflects the harness-built deliver_artifact tool. A host application that registers its own upload tool (the setup discussed in #2663) therefore sends a prompt that denies any delivery capability while that tool is present in the same request. Observed with such a host: the model quoted the sentence, answered that no such tool was available, and skipped the upload.

Expected

The paragraph states only what the harness knows. Without its own delivery tool, files remain in the execution backend unless the model's tool list includes a delivery or upload tool. Setups without any delivery tool keep the current fallback guidance, and the paragraph still names no transfer tool of its own.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions