Skip to content

Official Codebase of 3DCodeVerse

Python

planner and captioner default to gemini-4-argon; old model ids out of the Backends docstring and examples

gaoypeng67ed3f99ace2
diff --git a/harness/CLAUDE.md b/harness/CLAUDE.md
index 7964a8ca..69ef9bf7 100644
--- a/harness/CLAUDE.md
+++ b/harness/CLAUDE.md
@@ -66,7 +66,8 @@ push, with `set -o pipefail` so a `| tail` cannot swallow a red exit. The versi
shared pool, a per-session HOME carrying `modelProvider: gemini` + the 3dcode MCP server, priced. `codex` 0.147+ (MCP needs
`default_tools_approval_mode="approve"`) and `claude` 2.1 run on local subscriptions: test
lightly. No Anthropic/OpenAI API keys here.
-- DEFAULT generator: `agy:gemini-4-argon` (D103, 2026-10-13; `gemini-cli:gemini-3.7-flash` before).
+- DEFAULT generator: `agy:gemini-4-argon` (D103, 2026-10-13; `gemini-cli:gemini-3.7-flash` before); planner and
+ captioner default to `gemini:gemini-4-argon` too.
`gemini-3.7-flash` stays the cheap API model (single-shot / economy, flash judge — lenient; needs
the defect checklist for range). Judge default `gemini-3.1-pro-preview` (`Settings.default_judge`; tracks use
n_samples=1); flash + `--n 3` is the cheap fallback, pro for calibration/eval.
diff --git a/harness/codeverse3d/addons/calibration.py b/harness/codeverse3d/addons/calibration.py
index 50ed538b..500997f2 100644
--- a/harness/codeverse3d/addons/calibration.py
+++ b/harness/codeverse3d/addons/calibration.py
@@ -12,7 +12,7 @@ negative), and between stored and new overalls. Optionally renders a clay /
normals geometry set for the picked round (``addons/select``) when it stored none — from
its own GLB (``select.round_file``; none when it kept none) — so the geometry montage is exercised. Output goes to ``out_dir`` (never into the run).
-CLI: ``python -m codeverse3d.addons.calibration runs/a runs/b --model gemini:gemini-3.7-flash --n 3 --out scratch/``
+CLI: ``python -m codeverse3d.addons.calibration runs/a runs/b --model gemini:gemini-4-argon --n 3 --out scratch/``
"""
from __future__ import annotations
@@ -302,7 +302,7 @@ def calibrate(
def main(argv: list[str] | None = None) -> int:
ap = argparse.ArgumentParser(description="Re-judge finished runs to calibrate the VLM judge.")
ap.add_argument("run_dirs", nargs="+")
- ap.add_argument("--model", default=None, help="chat model id, e.g. gemini:gemini-3.7-flash")
+ ap.add_argument("--model", default=None, help="chat model id, e.g. gemini:gemini-4-argon")
ap.add_argument("--n", type=int, default=3, help="samples per round")
ap.add_argument("--out", default=".", help="output directory (json + md)")
ap.add_argument("--geometry", default="clay", help="clay | normals | none (geometry montage for the picked round)")
diff --git a/harness/codeverse3d/cli/texture_cmd.py b/harness/codeverse3d/cli/texture_cmd.py
index 9773cbd9..35fa97b9 100644
--- a/harness/codeverse3d/cli/texture_cmd.py
+++ b/harness/codeverse3d/cli/texture_cmd.py
@@ -1,6 +1,6 @@
"""``3dcode texture`` — text-to-image texturing commands.
- 3dcode texture pass <slug> [--no-judge] [--model gemini:gemini-3.7-flash] [--image-model MODEL]
+ 3dcode texture pass <slug> [--no-judge] [--model gemini:gemini-4-argon] [--image-model MODEL]
3dcode texture scene-pack <slug> [--n 8] [--model ...]
3dcode texture show <slug>
"""
diff --git a/harness/codeverse3d/contracts/common.py b/harness/codeverse3d/contracts/common.py
index 6cc2964c..e0eadb7e 100644
--- a/harness/codeverse3d/contracts/common.py
+++ b/harness/codeverse3d/contracts/common.py
@@ -177,10 +177,10 @@ class Budget(BaseModel):
class Backends(BaseModel):
"""Which model/agent does which job. Ids are ``<kind>:<model>``:
- * API chat models: ``gemini:gemini-3.7-flash`` · ``anthropic:claude-sonnet-5``
- · ``openai:gpt-5.6-sol``
+ * API chat models: ``gemini:gemini-4-argon`` · ``anthropic:claude-opus-5-5``
+ · ``openai:gpt-6.1-sol``
* Coding agents: ``agy:gemini-4-argon`` (``-low``/``-medium``/``-high``; Gemini models only) · ``claude-code:sonnet``
- · ``codex:gpt-5.6-sol``
+ · ``codex:gpt-6.1-sol``
The coding agent is always a VENDOR agent: the harness supplies the workspace, the
prompt and its 3D tools (over MCP) and reads the result. The in-process
@@ -188,12 +188,12 @@ class Backends(BaseModel):
vendors already ship was never this project's job (owner's call).
"""
- planner: str = "gemini:gemini-3.7-flash"
+ planner: str = "gemini:gemini-4-argon"
generator: str = "agy:gemini-4-argon"
# The judge drives the refine loop: the pro tier has ~3x lower sample noise than
# flash (calibration 2026-08-23: std 0.03 vs 0.08-0.12) for ~$0.07 per verdict.
judge: str = "gemini:gemini-3.1-pro-preview"
- captioner: str = "gemini:gemini-3.7-flash"
+ captioner: str = "gemini:gemini-4-argon"
#: The text-to-image model (texture pass, scene texture pack, synthetic references) when none is named.
diff --git a/harness/codeverse3d/models/__init__.py b/harness/codeverse3d/models/__init__.py
index b2afce7f..e6d86919 100644
--- a/harness/codeverse3d/models/__init__.py
+++ b/harness/codeverse3d/models/__init__.py
@@ -1,4 +1,4 @@
-"""ChatModel backends (API). Use ``get_chat_model("gemini:gemini-3.7-flash")``."""
+"""ChatModel backends (API). Use ``get_chat_model("gemini:gemini-4-argon")``."""
from codeverse3d.models.registry import get_chat_model
diff --git a/harness/tests/cost/test_profiles.py b/harness/tests/cost/test_profiles.py
index f318bf8a..ca7c3b11 100644
--- a/harness/tests/cost/test_profiles.py
+++ b/harness/tests/cost/test_profiles.py
@@ -25,9 +25,9 @@ def _fresh_settings():
def test_a_value_the_user_configured_survives_the_profile_unless_forced(monkeypatch):
- s = Settings(default_generator="codex:gpt-5.6-sol")
+ s = Settings(default_generator="codex:gpt-6.1-sol")
s.apply_profile("economy")
- assert s.default_generator == "codex:gpt-5.6-sol" # config.yaml / C3D_* wins over a default dial
+ assert s.default_generator == "codex:gpt-6.1-sol" # config.yaml / C3D_* wins over a default dial
assert s.default_judge == "gemini:gemini-3.7-flash" # everything unstated still moves
s.apply_profile("economy", force=True)
assert s.default_generator == "single-shot:gemini:gemini-3.7-flash"