Fix tool call ID normalization for cross-provider switches to Anthropic/GitHub Copilot

This commit is contained in:
Mario Zechner 2026-01-13 04:06:40 +01:00
parent 3690137ecc
commit 3c60ffa677
6 changed files with 131 additions and 7 deletions

21
Dockerfile.gh-build Normal file
View file

@ -0,0 +1,21 @@
FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y curl unzip git xz-utils ca-certificates \
&& curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
&& apt-get install -y nodejs \
&& BUN_VERSION=1.2.20 \
&& ARCH=$(dpkg --print-architecture) \
&& if [ "$ARCH" = "amd64" ]; then BUN_ARCH="linux-x64"; else BUN_ARCH="linux-aarch64"; fi \
&& curl -fsSL "https://github.com/oven-sh/bun/releases/download/bun-v${BUN_VERSION}/bun-${BUN_ARCH}.zip" -o /tmp/bun.zip \
&& unzip /tmp/bun.zip -d /tmp \
&& mv /tmp/bun-${BUN_ARCH}/bun /usr/local/bin/bun \
&& chmod +x /usr/local/bin/bun \
&& rm -rf /tmp/bun.zip /tmp/bun-linux-x64 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /repo
ENTRYPOINT ["/bin/bash", "-lc"]