evalstate HF Staff commited on
Commit
b4c23d2
·
verified ·
1 Parent(s): e1f7bcc

Deploy 4f42173 current fast-agent and robust finalization

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. research/birch_renderer.py +2 -3
Dockerfile CHANGED
@@ -6,7 +6,7 @@ RUN apt-get update && \
6
 
7
  WORKDIR /app
8
  RUN uv pip install --system --no-cache \
9
- fast-agent-mcp==0.9.21 \
10
  'fastmcp[apps]==3.4.4' \
11
  prefab-ui==0.20.2 \
12
  huggingface_hub
 
6
 
7
  WORKDIR /app
8
  RUN uv pip install --system --no-cache \
9
+ fast-agent-mcp \
10
  'fastmcp[apps]==3.4.4' \
11
  prefab-ui==0.20.2 \
12
  huggingface_hub
research/birch_renderer.py CHANGED
@@ -33,7 +33,6 @@ SANDBOX_SKILL_ROOT = "/opt/birch"
33
  SANDBOX_WORKSPACE_ROOT = "/workspace"
34
  BIRCH_STYLE_MARKER = "__BIRCH_SYSTEM_CSS__"
35
  MAX_FINALIZE_ATTEMPTS = 3
36
- FAST_AGENT_VERSION = "0.9.20"
37
 
38
  SANDBOX_AGENT_CARD = """---
39
  type: agent
@@ -430,9 +429,9 @@ Correct those findings rather than repeating the same presentation.
430
  "/opt/fast-agent.yaml",
431
  (Path(__file__).parent / "fast-agent.yaml").read_text(),
432
  )
433
- version = os.getenv("BIRCH_FAST_AGENT_VERSION", FAST_AGENT_VERSION)
434
  command = (
435
- f"uvx fast-agent-mcp=={shlex.quote(version)} go "
436
  "--no-home --config-path /opt/fast-agent.yaml "
437
  "--card /opt/html-agent.md --agent birch-html-worker "
438
  "--model '$system.html' --shell "
 
33
  SANDBOX_WORKSPACE_ROOT = "/workspace"
34
  BIRCH_STYLE_MARKER = "__BIRCH_SYSTEM_CSS__"
35
  MAX_FINALIZE_ATTEMPTS = 3
 
36
 
37
  SANDBOX_AGENT_CARD = """---
38
  type: agent
 
429
  "/opt/fast-agent.yaml",
430
  (Path(__file__).parent / "fast-agent.yaml").read_text(),
431
  )
432
+ package = os.getenv("BIRCH_FAST_AGENT_PACKAGE", "fast-agent-mcp")
433
  command = (
434
+ f"uvx {shlex.quote(package)} go "
435
  "--no-home --config-path /opt/fast-agent.yaml "
436
  "--card /opt/html-agent.md --agent birch-html-worker "
437
  "--model '$system.html' --shell "