"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
revert: drop GHCR pre-built image path (#187)
Haozhe Wu6b37c040c1c9
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.ymldeleted file mode 100644index 5c93bfb09..000000000--- a/.github/workflows/docker-publish.yml+++ /dev/null@@ -1,68 +0,0 @@-name: Publish Docker Image--on:- release:- types: [published]- push:- branches: [main]- # Only the `edge` build runs on main pushes; skip it for doc-only commits.- # Release builds (the real images) always fire via the `release` trigger above.- paths-ignore:- - '**.md'- - 'docs/**'- - 'wiki/**'--permissions:- contents: read- packages: write--jobs:- build-and-push:- runs-on: ubuntu-latest- timeout-minutes: 60-- steps:- - name: Checkout- uses: actions/checkout@v4- with:- fetch-depth: 0-- - name: Set up QEMU- uses: docker/setup-qemu-action@v3-- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@v3-- - name: Log in to GHCR- uses: docker/login-action@v3- with:- registry: ghcr.io- username: ${{ github.actor }}- password: ${{ secrets.GITHUB_TOKEN }}-- - name: Extract metadata- id: meta- uses: docker/metadata-action@v5- with:- images: ghcr.io/${{ github.repository_owner }}/vibe-trading- tags: |- # latest on every release- type=raw,value=latest,enable=${{ github.event_name == 'release' }}- # vX.Y.Z + vX.Y semver aliases on releases- type=semver,pattern={{version}},enable=${{ github.event_name == 'release' }}- type=semver,pattern={{major}}.{{minor}},enable=${{ github.event_name == 'release' }}- # edge tag on every push to main- type=raw,value=edge,enable=${{ github.event_name == 'push' }}-- - name: Build and push- uses: docker/build-push-action@v6- with:- context: .- platforms: linux/amd64,linux/arm64- push: true- tags: ${{ steps.meta.outputs.tags }}- labels: ${{ steps.meta.outputs.labels }}- build-args: |- VERSION=${{ steps.meta.outputs.version }}- cache-from: type=gha- cache-to: type=gha,mode=maxdiff --git a/Dockerfile b/Dockerfileindex f24745a89..c596ed346 100644--- a/Dockerfile+++ b/Dockerfile@@ -14,10 +14,9 @@ RUN npm run build# ============================================================================FROM python:3.11-slim AS runtime-ARG VERSION=devLABEL org.opencontainers.image.title="Vibe-Trading" \org.opencontainers.image.description="Natural-language finance research AI agent with backtesting" \- org.opencontainers.image.version="${VERSION}" \+ org.opencontainers.image.version="0.1.7" \org.opencontainers.image.source="https://github.com/HKUDS/Vibe-Trading" \org.opencontainers.image.licenses="MIT"diff --git a/README.md b/README.mdindex 9eb07ef20..fe7132421 100644--- a/README.md+++ b/README.md@@ -50,7 +50,7 @@## 📰 News-- **2026-06-08** 🐳 **One-pull Docker deploy + Gemini 3.x multi-turn fix**: You can now run the full stack without cloning the repo or building locally — a release CI workflow publishes a multi-arch (`amd64` + `arm64`) image to **GHCR**, and a new `docker-compose.prod.yml` pulls `ghcr.io/hkuds/vibe-trading` directly (README **Path E**, tested on a Synology NAS) ([#187](https://github.com/HKUDS/Vibe-Trading/pull/187), closes [#183](https://github.com/HKUDS/Vibe-Trading/issues/183), thanks @KaiLuettmann). This also **completes the Gemini 3.x thinking-model fix**: the 6/05 round-trip ([#176](https://github.com/HKUDS/Vibe-Trading/pull/176)) only covered in-memory history, but the real agent loop replays history as OpenAI-format dicts where LangChain dropped the per-tool-call `thought_signature` before the request was built — so multi-turn tool calling still 400'd with `missing thought_signature`. It is now re-attached at the single `_convert_input` chokepoint both `invoke` and `stream` pass through (parallel calls, where only the first of N is signed, included) ([#184](https://github.com/HKUDS/Vibe-Trading/pull/184), thanks @ngoanpv).+- **2026-06-08** 🔧 **Gemini 3.x multi-turn tool-calling fix**: This completes the Gemini 3.x thinking-model fix. The 6/05 round-trip ([#176](https://github.com/HKUDS/Vibe-Trading/pull/176)) only covered in-memory history, but the real agent loop replays history as OpenAI-format dicts where LangChain dropped the per-tool-call `thought_signature` before the request was built — so multi-turn tool calling still 400'd with `missing thought_signature`. It is now re-attached at the single `_convert_input` chokepoint both `invoke` and `stream` pass through (parallel calls, where only the first of N is signed, included) ([#184](https://github.com/HKUDS/Vibe-Trading/pull/184), thanks @ngoanpv).- **2026-06-07** 🐝 **Live swarm status in the chat timeline**: When the agent launches a multi-agent swarm (investment committee, quant desk, risk committee, …), the chat now renders an inline **status card** that streams each worker's state — waiting / running / done / failed / blocked / retrying — in real time, the same per-agent visibility the standalone swarm dashboard already had. Runtime events are bridged into the session SSE stream without changing the existing `/swarm/runs` API, and a finished card rehydrates from the final `run_swarm` result on reconnect or history replay ([#188](https://github.com/HKUDS/Vibe-Trading/pull/188), thanks @BillDin). Preset routing also got sharper: an explicitly named preset (e.g. `investment_committee`, with or without underscores) now wins over keyword scoring, and the bare `IV` derivatives keyword no longer false-matches inside ordinary words like "g**iv**en" ([#189](https://github.com/HKUDS/Vibe-Trading/pull/189), thanks @BillDin).- **2026-06-06** ⚖️ **Alpha compare — head-to-head across CLI, Web UI, REST & agent**: A new `alpha compare` benches a hand-picked shortlist of Alpha Zoo alphas against each other on a universe and period, then ranks them by IC mean/std, IR, IC-positive ratio or sample count — each with its gap to the leader. Unlike a full-zoo bench it evaluates **only the alphas you name** (a new `run_bench(only=…)` subset filter), so comparing three alphas no longer scores all 191 in their zoo. One shared core powers every surface: `vibe-trading alpha compare <id1> <id2> … --sort ir` (CLI), a **Compare view** in the Alpha Zoo Web UI (tick alphas in the catalogue → one-click compare with a streamed ranking table), `POST /alpha/compare` + SSE (REST), and a read-only `alpha_compare` agent tool (**47 tools** now).<details>@@ -370,7 +370,6 @@ vibe-trading-mcp # start MCP server (stdio)| **B. Local install** | Development, full CLI access | 5 min || **C. MCP plugin** | Plug into your existing agent | 3 min || **D. ClawHub** | One command, no cloning | 1 min |-| **E. Pre-built image (GHCR)** | Home server / NAS, no Git needed | 2 min |### Prerequisites@@ -447,36 +446,6 @@ npx clawhub@latest install vibe-trading --forceThe skill + MCP config is downloaded into your agent's skills directory. See [ClawHub install](#-mcp-plugin) for details.-### Path E: Pre-built image (no Git required)--Pull the latest release image directly from the GitHub Container Registry — no repository clone, no local build. Ideal for home servers and Synology NAS.--**1. Create a `.env` file** with your LLM provider credentials (see [Environment Variables](#-environment-variables) for all options):--```bash-# Minimal example — OpenRouter-LANGCHAIN_PROVIDER=openrouter-OPENROUTER_API_KEY=sk-or-...-OPENROUTER_BASE_URL=https://openrouter.ai/api/v1-LANGCHAIN_MODEL_NAME=deepseek/deepseek-v4-pro-```--**2. Download the production compose file:**--```bash-curl -O https://raw.githubusercontent.com/HKUDS/Vibe-Trading/main/docker-compose.prod.yml-```--**3. Start the container:**--```bash-docker compose -f docker-compose.prod.yml up -d-```--Open `http://localhost:8899`. The frontend is baked into the image and served at the same port — no separate build step required.--> **Data persistence:** Run data (agent runs and sessions) is stored in named Docker volumes (`vibe-runs`, `vibe-sessions`) and survives container recreation.----## 🧠 Environment Variables@@ -1045,8 +1014,7 @@ Vibe-Trading/│ └── stores/ # Zustand state management│├── Dockerfile # Multi-stage build-├── docker-compose.yml # One-command deploy (build from source)-├── docker-compose.prod.yml # Buildless deploy from GHCR pre-built image+├── docker-compose.yml # One-command deploy├── pyproject.toml # Package config + CLI entrypoint├── tools/ # Repo-level CI helpers│ └── ci_grep_gates.sh # rejects yaml.load / trademark / per-stock-data leaksdiff --git a/README_ar.md b/README_ar.mdindex 70563ae89..473d0810d 100644--- a/README_ar.md+++ b/README_ar.md@@ -50,7 +50,7 @@## 📰 الأخبار-- **2026-06-08** 🐳 **نشر Docker بسحبة واحدة + إصلاح Gemini 3.x متعدد الأدوار**: يمكنك الآن تشغيل الحزمة كاملةً دون استنساخ المستودع أو البناء محليًا——إذ ينشر CI workflow عند الإصدار صورةً متعددة المعماريات (`amd64` + `arm64`) إلى **GHCR**، ويسحب ملف `docker-compose.prod.yml` الجديد الصورة `ghcr.io/hkuds/vibe-trading` مباشرةً (المسار **Path E** في README، مُختبَر على Synology NAS) ([#187](https://github.com/HKUDS/Vibe-Trading/pull/187)، يغلق [#183](https://github.com/HKUDS/Vibe-Trading/issues/183)، شكراً @KaiLuettmann). كما **يكتمل في هذه الدورة إصلاح نماذج التفكير Gemini 3.x**: غطّى تبادل 6/05 ([#176](https://github.com/HKUDS/Vibe-Trading/pull/176)) السجلّ في الذاكرة فقط، لكن حلقة الـ agent الفعلية تعيد تشغيل السجل على هيئة dict بصيغة OpenAI حيث كانت LangChain تُسقِط `thought_signature` لكل استدعاء أداة قبل بناء الطلب——فظلّت استدعاءات الأدوات متعددة الأدوار تفشل بـ `missing thought_signature` (خطأ 400). أصبح يُعاد إرفاقه الآن عند نقطة الاختناق الوحيدة `_convert_input` التي يمر بها كل من `invoke` و`stream` (بما في ذلك الاستدعاءات المتوازية، حيث يُوقّع الأول فقط من بين N) ([#184](https://github.com/HKUDS/Vibe-Trading/pull/184)، شكراً @ngoanpv).+- **2026-06-08** 🔧 **إصلاح استدعاء الأدوات متعدد الأدوار في Gemini 3.x**: يكتمل بهذا إصلاح نماذج التفكير Gemini 3.x. غطّى تبادل 6/05 ([#176](https://github.com/HKUDS/Vibe-Trading/pull/176)) السجلّ في الذاكرة فقط، لكن حلقة الـ agent الفعلية تعيد تشغيل السجل على هيئة dict بصيغة OpenAI حيث كانت LangChain تُسقِط `thought_signature` لكل استدعاء أداة قبل بناء الطلب——فظلّت استدعاءات الأدوات متعددة الأدوار تفشل بـ `missing thought_signature` (خطأ 400). أصبح يُعاد إرفاقه الآن عند نقطة الاختناق الوحيدة `_convert_input` التي يمر بها كل من `invoke` و`stream` (بما في ذلك الاستدعاءات المتوازية، حيث يُوقّع الأول فقط من بين N) ([#184](https://github.com/HKUDS/Vibe-Trading/pull/184)، شكراً @ngoanpv).- **2026-06-07** 🐝 **حالة swarm حيّة في مسار المحادثة**: عندما يُطلق الـ agent سربًا متعدد الوكلاء (لجنة الاستثمار، مكتب الكَمّ، لجنة المخاطر، …)، تعرض المحادثة الآن **بطاقة حالة** مضمّنة تبث حالة كل worker——انتظار / تشغيل / اكتمال / فشل / محظور / إعادة محاولة——في الوقت الفعلي، بنفس وضوح كل وكيل الذي توفّره لوحة swarm المستقلة. تُجسّر أحداث وقت التشغيل إلى تدفّق SSE للجلسة دون تغيير واجهة `/swarm/runs` القائمة، وتُستعاد البطاقة المنتهية من نتيجة `run_swarm` النهائية عند إعادة الاتصال أو إعادة تشغيل السجل ([#188](https://github.com/HKUDS/Vibe-Trading/pull/188)، شكراً @BillDin). وصار توجيه الـ preset أدقّ: إذ يتقدّم الـ preset المُسمّى صراحةً (مثل `investment_committee`، بشرطة سفلية أو بدونها) على ترتيب الكلمات المفتاحية، ولم تعد الكلمة `IV` للمشتقات تُطابِق خطأً داخل كلمات عادية مثل «g**iv**en» ([#189](https://github.com/HKUDS/Vibe-Trading/pull/189)، شكراً @BillDin).- **2026-06-06** ⚖️ **مقارنة Alpha — عبر CLI وWeb UI وREST وagent**: يقارن `alpha compare` الجديد قائمة مختارة يدويًا من عوامل Alpha Zoo بعضها ببعض على نفس universe والفترة، ثم يرتّبها حسب متوسط/انحراف IC وIR ونسبة IC>0 أو عدد العينات — مع إظهار فجوة كل عامل عن المتصدّر. وخلافًا لـ bench لكامل الـ zoo، فإنه يقيّم **العوامل التي تسمّيها فقط** (مرشّح المجموعة الجزئية الجديد `run_bench(only=…)`)، فمقارنة ثلاثة عوامل لم تعد تُشغّل كل الـ 191 في الـ zoo. نواة مشتركة واحدة تشغّل كل الواجهات: `vibe-trading alpha compare <id1> <id2> … --sort ir` (CLI)، و**عرض Compare** في واجهة Alpha Zoo على الويب (حدّد العوامل في الكتالوج → مقارنة بنقرة واحدة مع جدول ترتيب متدفّق)، و`POST /alpha/compare` + SSE (REST)، وأداة `alpha_compare` للـ agent للقراءة فقط (**47 أداة** الآن).<details>diff --git a/README_ja.md b/README_ja.mdindex c3d2d4375..3792a75fd 100644--- a/README_ja.md+++ b/README_ja.md@@ -50,7 +50,7 @@## 📰 ニュース-- **2026-06-08** 🐳 **ワンプル Docker デプロイ + Gemini 3.x マルチターン修正**: リポジトリのクローンやローカルビルドなしでフルスタックを実行できるようになりました——リリース時の CI workflow がマルチアーキ(`amd64` + `arm64`)イメージを **GHCR** に公開し、新しい `docker-compose.prod.yml` が `ghcr.io/hkuds/vibe-trading` を直接プルします(README の **Path E**、Synology NAS で検証済み)([#187](https://github.com/HKUDS/Vibe-Trading/pull/187)、[#183](https://github.com/HKUDS/Vibe-Trading/issues/183) をクローズ、@KaiLuettmann さんに感謝)。今回は **Gemini 3.x の思考モデル修正も完成**: 6/05 のラウンドトリップ([#176](https://github.com/HKUDS/Vibe-Trading/pull/176))は in-memory 履歴のみを対象にしていましたが、実際の agent loop は履歴を OpenAI 形式の dict で再生し、LangChain がリクエスト構築前にツール呼び出しごとの `thought_signature` を捨てていたため、マルチターンのツール呼び出しが依然 `missing thought_signature` で 400 になっていました。これが `invoke` と `stream` が共有する唯一のチョークポイント `_convert_input` で再付与されるようになりました(並列呼び出し——N 個のうち最初の 1 つだけ署名される——も対象)([#184](https://github.com/HKUDS/Vibe-Trading/pull/184)、@ngoanpv さんに感謝)。+- **2026-06-08** 🔧 **Gemini 3.x マルチターンのツール呼び出し修正**: Gemini 3.x の思考モデル修正が完成しました。6/05 のラウンドトリップ([#176](https://github.com/HKUDS/Vibe-Trading/pull/176))は in-memory 履歴のみを対象にしていましたが、実際の agent loop は履歴を OpenAI 形式の dict で再生し、LangChain がリクエスト構築前にツール呼び出しごとの `thought_signature` を捨てていたため、マルチターンのツール呼び出しが依然 `missing thought_signature` で 400 になっていました。これが `invoke` と `stream` が共有する唯一のチョークポイント `_convert_input` で再付与されるようになりました(並列呼び出し——N 個のうち最初の 1 つだけ署名される——も対象)([#184](https://github.com/HKUDS/Vibe-Trading/pull/184)、@ngoanpv さんに感謝)。- **2026-06-07** 🐝 **チャットのタイムラインにライブ swarm ステータス**: agent がマルチエージェント swarm(投資委員会、クオンツデスク、リスク委員会……)を起動すると、チャットに各 worker の状態——待機 / 実行中 / 完了 / 失敗 / ブロック / リトライ——をリアルタイムにストリーミングするインライン**ステータスカード**が表示されるようになりました。独立した swarm ダッシュボードと同じエージェント単位の可視性です。ランタイムイベントは既存の `/swarm/runs` API を変えずにセッション SSE ストリームへブリッジされ、再接続や履歴再生時には完了済みカードが最終的な `run_swarm` 結果から復元されます([#188](https://github.com/HKUDS/Vibe-Trading/pull/188)、@BillDin さんに感謝)。preset ルーティングも精密に: 明示的に指定された preset(例 `investment_committee`、アンダースコアの有無を問わず)がキーワードスコアより優先され、裸の `IV` デリバティブキーワードが「g**iv**en」のような普通の単語に誤マッチしなくなりました([#189](https://github.com/HKUDS/Vibe-Trading/pull/189)、@BillDin さんに感謝)。- **2026-06-06** ⚖️ **Alpha 比較 —— CLI / Web UI / REST / agent の全面対応**: 新しい `alpha compare` は、手で選んだ Alpha Zoo ファクターのショートリストを同じ universe・期間で総当たり比較し、IC 平均/標準偏差・IR・IC>0 比率・サンプル数で順位付けして、各ファクターのトップとの差を示します。zoo 全体の bench と違い、**指定したファクターだけ**を評価します(新しい `run_bench(only=…)` のサブセットフィルタ)。3 つを比較しても zoo の 191 個すべてを走らせません。1 つの共有コアがすべての面を支えます: `vibe-trading alpha compare <id1> <id2> … --sort ir`(CLI)、Alpha Zoo Web UI の **Compare ビュー**(カタログでファクターをチェック → ワンクリック比較 + ストリーミング順位表)、`POST /alpha/compare` + SSE(REST)、読み取り専用の `alpha_compare` agent ツール(**47 ツール**に)。<details>diff --git a/README_ko.md b/README_ko.mdindex 012584e5f..17da353cc 100644--- a/README_ko.md+++ b/README_ko.md@@ -50,7 +50,7 @@## 📰 뉴스-- **2026-06-08** 🐳 **원-풀 Docker 배포 + Gemini 3.x 멀티턴 수정**: 이제 저장소를 클론하거나 로컬 빌드 없이 전체 스택을 실행할 수 있습니다——릴리스 시 CI workflow가 멀티아키(`amd64` + `arm64`) 이미지를 **GHCR**에 게시하고, 새 `docker-compose.prod.yml`이 `ghcr.io/hkuds/vibe-trading`을 직접 풀합니다(README의 **Path E**, Synology NAS에서 검증)([#187](https://github.com/HKUDS/Vibe-Trading/pull/187), [#183](https://github.com/HKUDS/Vibe-Trading/issues/183) 종료, @KaiLuettmann 님 감사합니다). 이번엔 **Gemini 3.x 사고 모델 수정도 완성**했습니다: 6/05의 왕복([#176](https://github.com/HKUDS/Vibe-Trading/pull/176))은 인메모리 히스토리만 다뤘지만, 실제 agent loop는 히스토리를 OpenAI 형식 dict로 재생하며 LangChain이 요청 구성 전에 도구 호출별 `thought_signature`를 버렸기 때문에 멀티턴 도구 호출이 여전히 `missing thought_signature`로 400을 냈습니다. 이제 `invoke`와 `stream`이 공유하는 단일 길목 `_convert_input`에서 다시 부착됩니다(병렬 호출——N개 중 첫 번째만 서명됨——도 포함)([#184](https://github.com/HKUDS/Vibe-Trading/pull/184), @ngoanpv 님 감사합니다).+- **2026-06-08** 🔧 **Gemini 3.x 멀티턴 도구 호출 수정**: Gemini 3.x 사고 모델 수정을 완성했습니다. 6/05의 왕복([#176](https://github.com/HKUDS/Vibe-Trading/pull/176))은 인메모리 히스토리만 다뤘지만, 실제 agent loop는 히스토리를 OpenAI 형식 dict로 재생하며 LangChain이 요청 구성 전에 도구 호출별 `thought_signature`를 버렸기 때문에 멀티턴 도구 호출이 여전히 `missing thought_signature`로 400을 냈습니다. 이제 `invoke`와 `stream`이 공유하는 단일 길목 `_convert_input`에서 다시 부착됩니다(병렬 호출——N개 중 첫 번째만 서명됨——도 포함)([#184](https://github.com/HKUDS/Vibe-Trading/pull/184), @ngoanpv 님 감사합니다).- **2026-06-07** 🐝 **채팅 타임라인의 실시간 swarm 상태**: agent가 멀티에이전트 swarm(투자위원회, 퀀트 데스크, 리스크 위원회……)을 시작하면 채팅에 각 worker의 상태——대기 / 실행 / 완료 / 실패 / 차단 / 재시도——를 실시간 스트리밍하는 인라인 **상태 카드**가 표시됩니다. 독립 swarm 대시보드와 동일한 에이전트별 가시성입니다. 런타임 이벤트는 기존 `/swarm/runs` API를 바꾸지 않고 세션 SSE 스트림으로 브리지되며, 재연결이나 히스토리 재생 시 완료된 카드가 최종 `run_swarm` 결과에서 복원됩니다([#188](https://github.com/HKUDS/Vibe-Trading/pull/188), @BillDin 님 감사합니다). preset 라우팅도 더 정밀해졌습니다: 명시적으로 지정한 preset(예: `investment_committee`, 밑줄 유무 무관)이 키워드 점수보다 우선하고, 맨 `IV` 파생상품 키워드가 “g**iv**en” 같은 일반 단어에 더 이상 오매칭되지 않습니다([#189](https://github.com/HKUDS/Vibe-Trading/pull/189), @BillDin 님 감사합니다).- **2026-06-06** ⚖️ **Alpha 비교 — CLI / Web UI / REST / agent 전 영역 지원**: 새 `alpha compare`는 직접 고른 Alpha Zoo 팩터들을 같은 universe·기간에서 상호 비교하고 IC 평균/표준편차, IR, IC>0 비율, 샘플 수로 순위를 매기며 각 팩터와 선두의 격차를 보여줍니다. 전체 zoo bench와 달리 **지정한 팩터만** 평가합니다(새 `run_bench(only=…)` 부분집합 필터). 그래서 3개를 비교해도 zoo의 191개를 모두 돌리지 않습니다. 하나의 공유 코어가 모든 영역을 구동합니다: `vibe-trading alpha compare <id1> <id2> … --sort ir`(CLI), Alpha Zoo Web UI의 **Compare 뷰**(카탈로그에서 팩터 체크 → 원클릭 비교 + 스트리밍 순위표), `POST /alpha/compare` + SSE(REST), 읽기 전용 `alpha_compare` agent 도구(이제 **47개 도구**).<details>diff --git a/README_zh.md b/README_zh.mdindex c412121e1..7c55a050a 100644--- a/README_zh.md+++ b/README_zh.md@@ -50,7 +50,7 @@## 📰 News-- **2026-06-08** 🐳 **一条命令的 Docker 部署 + Gemini 3.x 多轮修复**:现在无需克隆仓库或本地构建即可运行整套服务——发布时的 CI workflow 会把多架构(`amd64` + `arm64`)镜像推送到 **GHCR**,新增的 `docker-compose.prod.yml` 直接拉取 `ghcr.io/hkuds/vibe-trading`(README 中的 **Path E**,已在 Synology NAS 上验证)([#187](https://github.com/HKUDS/Vibe-Trading/pull/187),关闭 [#183](https://github.com/HKUDS/Vibe-Trading/issues/183),感谢 @KaiLuettmann)。本次还**补全了 Gemini 3.x 思考模型的修复**:6/05 的回传([#176](https://github.com/HKUDS/Vibe-Trading/pull/176))只覆盖了内存中的历史,而真正的 agent loop 会把历史以 OpenAI 格式的 dict 回放,LangChain 在构建请求前丢掉了每个工具调用的 `thought_signature`——导致多轮工具调用仍以 `missing thought_signature` 报 400。现在它会在 `invoke` 与 `stream` 共用的唯一入口 `_convert_input` 处重新挂回(并行调用——N 个里只有第一个带签名——也已涵盖)([#184](https://github.com/HKUDS/Vibe-Trading/pull/184),感谢 @ngoanpv)。+- **2026-06-08** 🔧 **Gemini 3.x 多轮工具调用修复**:补全了 Gemini 3.x 思考模型的修复。6/05 的回传([#176](https://github.com/HKUDS/Vibe-Trading/pull/176))只覆盖了内存中的历史,而真正的 agent loop 会把历史以 OpenAI 格式的 dict 回放,LangChain 在构建请求前丢掉了每个工具调用的 `thought_signature`——导致多轮工具调用仍以 `missing thought_signature` 报 400。现在它会在 `invoke` 与 `stream` 共用的唯一入口 `_convert_input` 处重新挂回(并行调用——N 个里只有第一个带签名——也已涵盖)([#184](https://github.com/HKUDS/Vibe-Trading/pull/184),感谢 @ngoanpv)。- **2026-06-07** 🐝 **聊天时间线中的实时 swarm 状态**:当 agent 启动多智能体 swarm(投资委员会、量化台、风险委员会……)时,聊天界面现在会内联渲染一张**状态卡**,实时流式展示每个 worker 的状态——等待 / 运行 / 完成 / 失败 / 阻塞 / 重试——与独立 swarm 仪表盘一致的逐 agent 可见性。运行时事件被桥接进会话 SSE 流,且不改动现有的 `/swarm/runs` API;重连或回放历史时,已结束的卡片会从最终的 `run_swarm` 结果复原([#188](https://github.com/HKUDS/Vibe-Trading/pull/188),感谢 @BillDin)。preset 路由也更精准:显式指定的 preset(如 `investment_committee`,带不带下划线均可)现在优先于关键词打分,而裸 `IV` 衍生品关键词也不再误匹配 “g**iv**en” 之类普通单词([#189](https://github.com/HKUDS/Vibe-Trading/pull/189),感谢 @BillDin)。- **2026-06-06** ⚖️ **Alpha 对比 —— CLI / Web UI / REST / agent 四端齐全**:新增 `alpha compare`,把你手选的一组 Alpha Zoo 因子放在同一 universe 和区间上两两对比,按 IC 均值/标准差、IR、IC>0 比例或样本数排名,并标出每个因子与榜首的差距。不同于整库 bench,它**只评估你点名的因子**(新增 `run_bench(only=…)` 子集过滤),所以对比 3 个因子不会再把整库 191 个全跑一遍。四端共用同一套核心:`vibe-trading alpha compare <id1> <id2> … --sort ir`(CLI)、Alpha Zoo Web UI 的 **Compare 视图**(在目录里勾选因子 → 一键对比 + 流式排名表)、`POST /alpha/compare` + SSE(REST),以及只读的 `alpha_compare` agent 工具(工具数达 **47**)。<details>diff --git a/docker-compose.prod.yml b/docker-compose.prod.ymldeleted file mode 100644index d40326bd6..000000000--- a/docker-compose.prod.yml+++ /dev/null@@ -1,29 +0,0 @@-# Production compose for end-users — no build required.-# Pull the pre-built image from GHCR and run with your own .env file.-#-# Usage:-# curl -O https://raw.githubusercontent.com/HKUDS/Vibe-Trading/main/docker-compose.prod.yml-# # Create .env with your LLM key (see agent/.env.example for all options)-# echo "LANGCHAIN_PROVIDER=openrouter" > .env-# echo "OPENROUTER_API_KEY=sk-..." >> .env-# echo "OPENROUTER_BASE_URL=https://openrouter.ai/api/v1" >> .env-# echo "LANGCHAIN_MODEL_NAME=deepseek/deepseek-v4-pro" >> .env-# docker compose -f docker-compose.prod.yml up -d--services:- vibe-trading:- image: ghcr.io/hkuds/vibe-trading:latest- ports:- - "127.0.0.1:8899:8899"- env_file:- - .env- environment:- - VIBE_TRADING_TRUST_DOCKER_LOOPBACK=1- volumes:- - vibe-runs:/app/agent/runs- - vibe-sessions:/app/agent/sessions- restart: unless-stopped--volumes:- vibe-runs:- vibe-sessions: