You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Gemini-powered visual multi-agent deep reasoning engine with dynamic planning, reasoning visualization, and multi-session management.
7
+
A visual multi-agent deep reasoning engine for user-configured Gemini API and OpenAI-compatible API models.
8
8
9
9
## Overview
10
10
11
-
A Gemini-powered visual multi-agent deep reasoning engine with dynamic planning, reasoning visualization, and multi-session management.
11
+
A visual multi-agent deep reasoning engine with dynamic planning, reasoning visualization, and multi-session management. Prisma does not ship model presets; create the Gemini or OpenAI-compatible models you want to use in settings.
12
12
13
13
## Features
14
14
15
15
- Multi-agent collaborative reasoning.
16
16
- Visual task planning and reasoning traces.
17
-
- Supports Gemini API and OpenAI-compatible endpoints.
17
+
- Supports user-created Gemini API and OpenAI-compatible model configurations.
18
18
- Modern React 19 + TypeScript + Vite project.
19
19
20
20
## Quick Start
21
21
22
22
- Run `npm install`.
23
-
- Copy and configure environment variables.
24
23
- Run `npm run dev`.
24
+
- Open Settings -> Model Management and add at least one Gemini API or OpenAI-compatible API model.
25
25
26
26
## Docker Deployment
27
27
@@ -38,13 +38,21 @@ docker build -t prisma .
38
38
docker run --rm -p 8081:80 prisma
39
39
```
40
40
41
-
The container builds the static `dist/` bundle and serves it with Nginx, while Cloudflare Pages can keep using the existing `npm run build` flow.
41
+
The Docker image builds the static `dist/` bundle and serves it with a small Node runtime. Docker builds enable the local API proxy: the browser calls same-origin `/custom-api`, and the container makes the actual Gemini/OpenAI-compatible API request to avoid browser-side CORS limits.
42
+
43
+
Common model API hosts are allowed by default. To use a custom gateway or local model service, add allowed hosts:
44
+
45
+
```bash
46
+
PRISMA_PROXY_ALLOWED_HOSTS=api.example.com,host.docker.internal docker compose up --build
47
+
```
48
+
49
+
The proxy switch is injected only by the Dockerfile. Cloudflare Pages can keep using the existing pure-static `npm run build` flow, with direct browser API requests and no `/custom-api` runtime service.
42
50
43
51
Cloudflare Pages reads the root `.node-version`; this repository pins Node.js 22 so Pages, GitHub Actions, and Docker builds use the same major runtime.
44
52
45
53
## Configuration
46
54
47
-
-Configure API keys and model settings for Gemini or OpenAI-compatible services.
55
+
-Create and manage model-specific API keys, base URLs, and providers for Gemini or OpenAI-compatible services.
Docker 镜像会在构建阶段生成静态 `dist/`,并由一个轻量 Node 运行时提供页面和本地 API 代理:浏览器只请求同源的 `/custom-api`,真正的 Gemini/OpenAI 兼容 API 请求由容器内的 Node 服务发出,用来避开浏览器侧 CORS 限制。默认允许常见模型 API 域名;如果要接入自定义网关或本地模型服务,可以追加允许域名:
137
+
138
+
```bash
139
+
PRISMA_PROXY_ALLOWED_HOSTS=api.example.com,host.docker.internal docker compose up --build
0 commit comments