# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # # Wires the opencode sandboxed agent to swe_next_resources_server for a training run -- # `swe_next.yaml` alone only defines the resources server, which is enough for golden-patch # validation (apply_golden_patch.py talks to it directly, no agent involved) but not enough to # actually run an agent against the dataset. This is a separate file, not folded into # swe_next.yaml, so golden-patch validation keeps working without pulling in the agent's (much # larger) opencode/sandbox config. # # This is training data (data/swe_next_training.jsonl, only the already-supported instances -- # see the README), not a fixed eval benchmark. # # gym env start --config resources_servers/swe_next/configs/swe_next_opencode.yaml config_paths: - responses_api_agents/opencode_sandboxed_agent/configs/opencode_sandboxed_agent.yaml - resources_servers/swe_next/configs/swe_next.yaml swe_next_opencode_sandboxed_agent: _inherit_from: opencode_sandboxed_agent responses_api_agents: opencode_sandboxed_agent: resources_server: type: resources_servers name: swe_next_resources_server datasets: - name: swe_next type: train jsonl_fpath: resources_servers/swe_next/data/swe_next_training.jsonl num_repeats: 1 license: MIT swe_next_environment_server: environment_servers: legacy_agent: entrypoint: app.py agent_server: type: responses_api_agents name: swe_next_opencode_sandboxed_agent