lili 24e558a4ed
Some checks failed
docs-gate / docs-gate (push) Has been cancelled
fix(cost): 成本子系统改用 per-POST 凭据取价(不再依赖 Service 进程 env NEWAPI_KEY)+ Service 注 key 兜底 + requirements 补 app-runtime extras (阶段一② cutover 接缝)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 18:39:32 -07:00

12 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# cheap-worker · 便宜档 Python 线Node amodel-gen 范式重写进 AgentScope依赖
# 与 tier2/gen-worker 同款锁版cheap-worker 经 sys.path import tier2 的 worker 框架层,
# 必须同一个 AgentScope2.0.2)才能保证内置 Agent/ReActConfig/Toolkit/FunctionTool API 一致。
# extras 补 app-runtimecutover 接缝 A独立 Agent Servicecheap_service_app.build_cheap_app→create_app真起服务需
# [service]=fastapi/uvicorn/apscheduler/ag-ui-protocol、[storage]=redisRedisStorage/RedisMessageBus。裸 agentscope
# 只够 import 到 create_app 之下、全新 venv 起不动 ServiceSDD 单测只 import/py_compile 未暴露。redis 由 [storage] 带入,
# 不再单列(以 extras 为准、不重复)。版本仍钉死 2.0.2。
agentscope[service,storage]==2.0.2
openai>=2.41.1 # 便宜档走 OpenAI 兼容端点new-api 的 MiniMax-M3base_url 带 /v1/v1/chat/completions
pyyaml # generation.yaml 熔断/预算旋钮外置(对 tier2 的 genconfig
json-repair # 脏 JSON 工具参数兜底(承袭 tier2/裸路)