Skip to content

模型无响应不回复 #7

@haytham-ai-assistant

Description

@haytham-ai-assistant

.env

# =============================================================================
# Poco Docker Compose Environment Variables
# =============================================================================
# Copy this file to .env and configure the values below.
# Variables with defaults can be omitted; required ones are marked as such.
# =============================================================================

# -----------------------------------------------------------------------------
# REQUIRED: Claude API Configuration
# -----------------------------------------------------------------------------
# Your Anthropic API key. Get one from: https://console.anthropic.com/
ANTHROPIC_AUTH_TOKEN=sk-Hynix

# Optional: Use a custom API base URL (e.g., for proxy services)
ANTHROPIC_BASE_URL=http://172.17.0.1:25602/proxy/deepseek-a
# https://api.deepseek.com/anthropic

# Default Claude model to use
DEFAULT_MODEL=deepseek-reasoner

# -----------------------------------------------------------------------------
# SECURITY: CHANGE THESE IN PRODUCTION
# -----------------------------------------------------------------------------
# Secret key for backend JWT signing
BACKEND_SECRET_KEY=sk-Hynix

# Token for internal API communication between services
INTERNAL_API_TOKEN=sk-Hynix

# Token for executor callbacks to manager
CALLBACK_TOKEN=sk-Hynix

# -----------------------------------------------------------------------------
# Service Ports (Optional)
# -----------------------------------------------------------------------------
# FRONTEND_PORT=12800
# BACKEND_PORT=12801
# EXECUTOR_MANAGER_PORT=12802
# POSTGRES_PORT=12803
# S3_PORT=12804
# S3_CONSOLE_PORT=12805

# -----------------------------------------------------------------------------
# Database (Optional - defaults are usually fine)
# -----------------------------------------------------------------------------
# POSTGRES_DB=poco
# POSTGRES_USER=postgres
# POSTGRES_PASSWORD=postgres

# -----------------------------------------------------------------------------
# S3-Compatible Storage (Optional - defaults are usually fine for local dev)
# -----------------------------------------------------------------------------
# RUSTFS_DATA_DIR=./oss_data
# S3_ACCESS_KEY=poco
# S3_SECRET_KEY=poco-secret
# S3_BUCKET=poco
# S3_REGION=us-east-1
# S3_ENDPOINT=http://rustfs:9000
# S3_PUBLIC_ENDPOINT=http://localhost:9000
# S3_FORCE_PATH_STYLE=true
#
# Cloudflare R2 example (bucket must already exist):
# S3_ENDPOINT=https://<accountid>.r2.cloudflarestorage.com
# S3_PUBLIC_ENDPOINT=https://<accountid>.r2.cloudflarestorage.com
# S3_REGION=auto
# S3_FORCE_PATH_STYLE=false

# -----------------------------------------------------------------------------
# OpenAI (Optional)
# -----------------------------------------------------------------------------
# OPENAI_API_KEY=sk-xxxxx
# OPENAI_BASE_URL=
# OPENAI_DEFAULT_MODEL=gpt-4o-mini

# -----------------------------------------------------------------------------
# Logging (Optional)
# -----------------------------------------------------------------------------
# LOG_LEVEL=INFO
# LOG_TO_FILE=false
# LOG_DIR=./logs
# LOG_BACKUP_COUNT=14
# LOG_SQL=false
# UVICORN_ACCESS_LOG=false

# -----------------------------------------------------------------------------
# Executor Manager (Optional)
# -----------------------------------------------------------------------------
# Maximum number of tasks to run concurrently
# MAX_CONCURRENT_TASKS=5

# Browser / Desktop (Optional)
# Default desktop viewport for browser-enabled runs (Playwright MCP).
# POCO_BROWSER_VIEWPORT_SIZE=1366x768

# Task polling configuration
# TASK_PULL_ENABLED=true
# TASK_PULL_INTERVAL_SECONDS=2
# TASK_CLAIM_LEASE_SECONDS=180

# Workspace cleanup and archival
# WORKSPACE_CLEANUP_ENABLED=false
# WORKSPACE_ARCHIVE_ENABLED=true
# WORKSPACE_ARCHIVE_DAYS=7
# WORKSPACE_IGNORE_DOT_FILES=true

# -----------------------------------------------------------------------------
# Container Images (Optional - override for local development)
# -----------------------------------------------------------------------------
# BACKEND_IMAGE=ghcr.io/poco-ai/poco-backend:latest
# EXECUTOR_MANAGER_IMAGE=ghcr.io/poco-ai/poco-executor-manager:latest
# EXECUTOR_IMAGE=ghcr.io/poco-ai/poco-executor:lite
# Optional: executor image with desktop/browser stack (used when browser_enabled=true).
# EXECUTOR_BROWSER_IMAGE=ghcr.io/poco-ai/poco-executor:full
# FRONTEND_IMAGE=ghcr.io/poco-ai/poco-frontend:latest

# RUSTFS_IMAGE=rustfs/rustfs:latest
# RUSTFS_INIT_IMAGE=minio/mc:latest
DOCKER_GID=993

log

log.txt


在对话后,透明代理未收到来自 poco 的任何请求。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions