fix: 清除硬编码API Key与机器特定路径,改用环境变量+混合式路径解析
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# 测试数据生成 Agent 实现计划
|
||||
# 测试数据生成 Agent 实现计划
|
||||
|
||||
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
|
||||
|
||||
@@ -2042,7 +2042,7 @@ from agent.models import ProgramMeta, FileInfo, CopyField, KeyInfo, TableColumn,
|
||||
|
||||
def generate(design_md: str, source_cbl: str, file_db_md: str,
|
||||
cpy_dir: str, db_md: str, output_dir: str = "output",
|
||||
api_key: str = "sk-6156cccdc9c14d949cf5bfc5afc67a03",
|
||||
api_key: str = "<API_KEY>",
|
||||
api_model: str = "deepseek-v4-flash",
|
||||
rules_dir: str = "rules") -> dict:
|
||||
"""生成测试数据的主入口函数。
|
||||
@@ -2151,7 +2151,7 @@ def main():
|
||||
help='DB 定義書 .md のパス')
|
||||
parser.add_argument('--output', default='output',
|
||||
help='出力ディレクトリ (デフォルト: output)')
|
||||
parser.add_argument('--api-key', default='sk-6156cccdc9c14d949cf5bfc5afc67a03',
|
||||
parser.add_argument('--api-key', default='<API_KEY>',
|
||||
help='DeepSeek API Key')
|
||||
parser.add_argument('--model', default='deepseek-v4-flash',
|
||||
help='API モデル名')
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# COBOL 测试数据生成 Agent 设计文档
|
||||
# COBOL 测试数据生成 Agent 设计文档
|
||||
|
||||
## 背景
|
||||
|
||||
@@ -203,7 +203,7 @@ PGMパターン 值到规则文件名的映射:
|
||||
**API 配置**:
|
||||
- 地址:https://api.deepseek.com/chat/completions
|
||||
- 模型:`deepseek-v4-flash`
|
||||
- API Key:`sk-6156cccdc9c14d949cf5bfc5afc67a03`
|
||||
- API Key:`<API_KEY>`
|
||||
- timeout:120 秒
|
||||
|
||||
**请求结构**:
|
||||
|
||||
Reference in New Issue
Block a user