Files
loom/backend/app/integrations/__init__.py
T
2026-04-24 17:46:03 +08:00

9 lines
504 B
Python
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.
"""外部服务客户端。
- `lobster_client`:龙虾 Agent HTTP 客户端;`.env` 配置 `LOBSTER_API_BASE / LOBSTER_API_KEY`
后真调 `POST /runs` + `GET /runs/{id}`;未配置时客户端内置 mock 便于本地开发。
- `openai_client`:OpenAI Chat Completions;`.env` 的 `OPENAI_API_KEY` 未配置时走 mock 回显,
每个 LLM Provider 也可在 UI 里单独设置 key。
- `script_executor`:subprocess 脚本执行器(python/node/shell + 超时 + 逐行日志回调)。
"""