Using ContreeEnvironment
Running with SWE-bench
Setup
-
Install the dependencies:
-
Set up Nebius IAM token and base URL:
Usage
Run mini-swe-agent like with any other environment:environment_class to contree in your swebench.yaml configDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
"""Report the current mini-swe-agent integration incompatibility.
``minisweagent.environments.extra.contree.ContreeEnvironment`` still imports
the removed ``contree_sdk.config.ContreeConfig`` type. It also constructs
``ContreeSync`` from that configuration and cannot accept an explicit client.
The integration must first add support for a user-provided
``contree_client.base.ContreeSyncClient``. Until then, this example cannot use
the current contree-sdk API.
"""
def main() -> None:
raise RuntimeError("mini-swe-agent's ContreeEnvironment does not support user-provided contree_client clients")
if __name__ == "__main__":
main()
pip install "mini-swe-agent[contree]"
export NEBIUS_API_KEY="your-nebius-iam-token"
export NEBIUS_PROJECT_ID="your-project-id"
export CONTREE_BASE_URL="your-given-base-url-for-contree"
mini-extra swebench \
--subset verified \
--split test \
--workers 100
--environment-class contree
environment_class to contree in your swebench.yaml configWas this page helpful?