wip: [01-stabilize] paused at task 1/1 - OCR Hallucination Immune logic via Semantic delta window and fret-isolation
This commit is contained in:
4
.agent/vendor/mini-swe/.devcontainer/README.md
vendored
Normal file
4
.agent/vendor/mini-swe/.devcontainer/README.md
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
# .devcontainer
|
||||
|
||||
The files in this directory configure a VSCode environment like
|
||||
GitHub codespaces.
|
||||
13
.agent/vendor/mini-swe/.devcontainer/bashrc_epilog.sh
vendored
Normal file
13
.agent/vendor/mini-swe/.devcontainer/bashrc_epilog.sh
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
if [ -z "$(docker images -q sweagent/swe-agent 2> /dev/null)" ]; then
|
||||
echo "⚠️ Please wait for the postCreateCommand to start and finish (a new window will appear shortly) ⚠️"
|
||||
fi
|
||||
|
||||
echo "Here's an example SWE-agent command to try out:"
|
||||
|
||||
echo "sweagent run \\
|
||||
--agent.model.name=claude-sonnet-4-20250514 \\
|
||||
--agent.model.per_instance_cost_limit=2.00 \\
|
||||
--env.repo.github_url=https://github.com/SWE-agent/test-repo \\
|
||||
--problem_statement.github_url=https://github.com/SWE-agent/test-repo/issues/1 \\
|
||||
"
|
||||
22
.agent/vendor/mini-swe/.devcontainer/devcontainer.json
vendored
Normal file
22
.agent/vendor/mini-swe/.devcontainer/devcontainer.json
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "SWE-Agent Codespace",
|
||||
"image": "mcr.microsoft.com/vscode/devcontainers/miniconda:0-3",
|
||||
"customizations":{
|
||||
"vscode":{
|
||||
"extensions": [
|
||||
"ms-python.python",
|
||||
"ms-azuretools.vscode-docker",
|
||||
"ms-toolsai.jupyter"
|
||||
]
|
||||
}
|
||||
},
|
||||
"onCreateCommand": "./.devcontainer/oncreate.sh",
|
||||
"postCreateCommand": "./.devcontainer/postcreate.sh",
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
|
||||
},
|
||||
"mounts": [
|
||||
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
|
||||
],
|
||||
"remoteUser": "vscode"
|
||||
}
|
||||
12
.agent/vendor/mini-swe/.devcontainer/oncreate.sh
vendored
Normal file
12
.agent/vendor/mini-swe/.devcontainer/oncreate.sh
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
set -x
|
||||
|
||||
# Run from repo root
|
||||
|
||||
sudo usermod -aG docker vscode
|
||||
sudo chmod 666 /var/run/docker.sock
|
||||
pip install -e '.'
|
||||
cp .devcontainer/sample_keys.cfg keys.cfg
|
||||
cat .devcontainer/bashrc_epilog.sh >> ~/.bashrc
|
||||
6
.agent/vendor/mini-swe/.devcontainer/postcreate.sh
vendored
Normal file
6
.agent/vendor/mini-swe/.devcontainer/postcreate.sh
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
set -x
|
||||
|
||||
pip install -e '.'
|
||||
11
.agent/vendor/mini-swe/.devcontainer/sample_keys.cfg
vendored
Normal file
11
.agent/vendor/mini-swe/.devcontainer/sample_keys.cfg
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
# All keys are commented out by default. Make sure to remove the leading '#' of the relevant lines
|
||||
# GITHUB_TOKEN: 'GitHub Token to clone private repos'
|
||||
# OPENAI_API_KEY: 'OpenAI API Key Here if using OpenAI Model'
|
||||
# ANTHROPIC_API_KEY: 'Anthropic API Key Here if using Anthropic Model'
|
||||
# TOGETHER_API_KEY: 'Together API Key Here if using Together Model'
|
||||
# AZURE_OPENAI_API_KEY: 'Azure OpenAI API Key Here if using Azure OpenAI Model'
|
||||
# AZURE_OPENAI_ENDPOINT: 'Azure OpenAI Endpoint Here if using Azure OpenAI Model'
|
||||
# AZURE_OPENAI_DEPLOYMENT: 'Azure OpenAI Deployment Here if using Azure OpenAI Model'
|
||||
# AZURE_OPENAI_API_VERSION: 'Azure OpenAI API Version Here if using Azure OpenAI Model'
|
||||
# OPENAI_API_BASE_URL: 'LM base URL here if using Local or alternative api Endpoint'
|
||||
# GROQ_API_KEY: 'Groq Models API Key'
|
||||
Reference in New Issue
Block a user