Skip to content

Commit a2ea894

Browse files
committed
Update AI model references to latest 2026 versions
Replace all outdated model names across the codebase: - gpt-4/gpt-4-turbo -> gpt-5.2 - gpt-3.5-turbo -> gemini-3-flash - claude-3-opus/claude-3-sonnet -> claude-opus-4.5
1 parent 8cf7cbc commit a2ea894

19 files changed

Lines changed: 80 additions & 80 deletions

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Human prompt -> Orchestrator (task breakdown) -> AgentManager (spawn N agents on
7272

7373
| Variable | Purpose | Default |
7474
|----------|---------|---------|
75-
| `ANSIBEL_DEFAULT_MODEL` | Default model for agents | `gpt-4` |
75+
| `ANSIBEL_DEFAULT_MODEL` | Default model for agents | `gpt-5.2` |
7676
| `ANSIBEL_TOURNAMENT_AGENTS` | Agents per tournament | `3` |
7777
| `ANSIBEL_TOURNAMENT_TIMEOUT` | Tournament timeout (seconds) | `300` |
7878
| `ANSIBEL_TRUST_THRESHOLD_HIGH` | High trust threshold | `0.8` |

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ pip install -e .
9494
```bash
9595
ai-git init
9696
ai-git branch agent-001 --purpose "Implement authentication"
97-
ai-git commit "Add OAuth flow" --agent-id agent-001 --model-version gpt-4
97+
ai-git commit "Add OAuth flow" --agent-id agent-001 --model-version gpt-5.2
9898
ai-git review
9999
ai-git merge agent/agent-001/20240115
100100
ai-git history
@@ -172,7 +172,7 @@ ansib-el/
172172

173173
| Variable | Description | Default |
174174
|----------|-------------|---------|
175-
| `ANSIBEL_DEFAULT_MODEL` | Default model for agents | `gpt-4` |
175+
| `ANSIBEL_DEFAULT_MODEL` | Default model for agents | `gpt-5.2` |
176176
| `ANSIBEL_TOURNAMENT_AGENTS` | Agents per tournament | `3` |
177177
| `ANSIBEL_TOURNAMENT_TIMEOUT` | Tournament timeout (seconds) | `300` |
178178
| `ANSIBEL_TRUST_THRESHOLD_HIGH` | High trust threshold | `0.8` |

agent_system.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ class AgentContextError(AgentError):
862862
# Spawn agents for different tasks
863863
agent1 = manager.spawn_agent(
864864
purpose="Review authentication module changes",
865-
model_version="gpt-4",
865+
model_version="gpt-5.2",
866866
prompt=system_prompt,
867867
task_id="TASK-001"
868868
)
@@ -871,10 +871,10 @@ class AgentContextError(AgentError):
871871
print(f" Model: {agent1.model_version}")
872872
print(f" Branch: {agent1.workspace_branch}")
873873
print(f" Status: {agent1.status.value}")
874-
874+
875875
agent2 = manager.spawn_agent(
876876
purpose="Optimize database queries",
877-
model_version="gpt-4-turbo",
877+
model_version="claude-opus-4.5",
878878
prompt=system_prompt,
879879
task_id="TASK-002",
880880
parent_task_id="TASK-001"

demo.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def demo_agent_system():
4848
# Spawn an agent
4949
agent = manager.spawn_agent(
5050
purpose="Implement user authentication",
51-
model_version="gpt-4-1106-preview",
51+
model_version="gpt-5.2",
5252
prompt="Create a secure login system with OAuth support",
5353
task_id="task-001"
5454
)
@@ -104,7 +104,7 @@ def demo_git_wrapper():
104104
# Commit with metadata
105105
metadata = AgentMetadata(
106106
agent_id="agent-001",
107-
model_version="gpt-4",
107+
model_version="gpt-5.2",
108108
prompt_hash="sha256:abc123...",
109109
timestamp="2024-01-15T10:30:00Z",
110110
parent_task="task-001",
@@ -249,7 +249,7 @@ def demo_tournament():
249249
agent_configs = [
250250
AgentConfig(
251251
agent_id="agent-iterative",
252-
agent_type="gpt-4",
252+
agent_type="gpt-5.2",
253253
model_config={"temperature": 0.7},
254254
timeout_seconds=30
255255
),
@@ -261,7 +261,7 @@ def demo_tournament():
261261
),
262262
AgentConfig(
263263
agent_id="agent-mathlib",
264-
agent_type="gpt-4",
264+
agent_type="gpt-5.2",
265265
model_config={"temperature": 0.5},
266266
timeout_seconds=30
267267
)

docs/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Each file in `.ai-git/metadata/` stores:
162162
```json
163163
{
164164
"agent_id": "550e8400-e29b-41d4-a716-446655440000",
165-
"model_version": "gpt-4-1106-preview",
165+
"model_version": "gpt-5.2",
166166
"prompt_hash": "sha256:a3f5c8...",
167167
"timestamp": "2024-01-15T10:30:00Z",
168168
"parent_task": "task-001",

docs/cli-reference.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ Commits staged changes (or specified files) and stores agent metadata in `.ai-gi
112112
**Examples:**
113113

114114
```bash
115-
ai-git commit "Add OAuth login endpoint" --agent-id agent-001 --model-version gpt-4
116-
ai-git commit "Fix null check" -a agent-002 -m claude-3 -c 0.95
115+
ai-git commit "Add OAuth login endpoint" --agent-id agent-001 --model-version gpt-5.2
116+
ai-git commit "Fix null check" -a agent-002 -m claude-opus-4.5 -c 0.95
117117
ai-git commit "Update schema" -a agent-001 -f schema.sql -f models.py
118118
```
119119

@@ -296,7 +296,7 @@ These variables configure default behavior across all commands:
296296

297297
| Variable | Description | Default |
298298
|----------|-------------|---------|
299-
| `ANSIBEL_DEFAULT_MODEL` | Default model for new agents | `gpt-4` |
299+
| `ANSIBEL_DEFAULT_MODEL` | Default model for new agents | `gpt-5.2` |
300300
| `ANSIBEL_TOURNAMENT_AGENTS` | Number of agents per tournament | `3` |
301301
| `ANSIBEL_TOURNAMENT_TIMEOUT` | Tournament timeout in seconds | `300` |
302302
| `ANSIBEL_TRUST_THRESHOLD_HIGH` | High trust tier threshold | `0.8` |

docs/concepts/tournament-mode.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ task = Task(
156156

157157
# Configure agents
158158
configs = [
159-
AgentConfig(agent_id="a1", agent_type="gpt-4", model_config={}, system_prompt="..."),
160-
AgentConfig(agent_id="a2", agent_type="claude-3", model_config={}, system_prompt="..."),
161-
AgentConfig(agent_id="a3", agent_type="gpt-4", model_config={}, system_prompt="..."),
159+
AgentConfig(agent_id="a1", agent_type="gpt-5.2", model_config={}, system_prompt="..."),
160+
AgentConfig(agent_id="a2", agent_type="claude-opus-4.5", model_config={}, system_prompt="..."),
161+
AgentConfig(agent_id="a3", agent_type="gpt-5.2", model_config={}, system_prompt="..."),
162162
]
163163

164164
# Create and run

docs/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ After making code changes on the agent branch:
6262
```bash
6363
ai-git commit "Add OAuth login endpoint" \
6464
--agent-id agent-001 \
65-
--model-version gpt-4 \
65+
--model-version gpt-5.2 \
6666
--confidence 0.85
6767
```
6868

@@ -159,7 +159,7 @@ Ansib-eL reads configuration from environment variables and `.ai-git/config.yaml
159159

160160
```bash
161161
# Set defaults via environment
162-
export ANSIBEL_DEFAULT_MODEL=gpt-4
162+
export ANSIBEL_DEFAULT_MODEL=gpt-5.2
163163
export ANSIBEL_TOURNAMENT_AGENTS=3
164164
export ANSIBEL_TOURNAMENT_TIMEOUT=300
165165
```

dogfood.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def a3():
106106
_run(["git", "add", "."], str(tmpdir))
107107
r = _run([
108108
sys.executable, "-m", "ansibel.cli", "commit",
109-
"Alpha commit", "-a", "agent-alpha", "-m", "gpt-4",
109+
"Alpha commit", "-a", "agent-alpha", "-m", "gpt-5.2",
110110
])
111111
assert r.returncode == 0, f"commit alpha failed: {r.stderr}"
112112
run_test("A", "A3: agent-alpha branch + commit", a3)
@@ -120,7 +120,7 @@ def a4():
120120
_run(["git", "add", "."], str(tmpdir))
121121
r = _run([
122122
sys.executable, "-m", "ansibel.cli", "commit",
123-
"Beta commit", "-a", "agent-beta", "-m", "claude-3",
123+
"Beta commit", "-a", "agent-beta", "-m", "claude-opus-4.5",
124124
])
125125
assert r.returncode == 0, f"commit beta failed: {r.stderr}"
126126
run_test("A", "A4: agent-beta branch + commit", a4)
@@ -261,7 +261,7 @@ def b6():
261261
def b7():
262262
agent = system.agents.spawn_agent(
263263
purpose="Dogfood agent",
264-
model_version="gpt-4",
264+
model_version="gpt-5.2",
265265
prompt="test prompt",
266266
task_id="dogfood-task",
267267
)

src/ansibel/ansib_el.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ def _run_single_agent_task(self, task: Task) -> dict[str, Any]:
397397
# Spawn an agent for this task
398398
agent = self.agents.spawn_agent(
399399
purpose=task.description,
400-
model_version="gpt-4",
400+
model_version="gpt-5.2",
401401
prompt=task.description,
402402
task_id=str(task.id),
403403
)

0 commit comments

Comments
 (0)