feat(prompt_opt): support streaming output for prompt optimization API

This commit is contained in:
mengyonghao
2026-01-05 10:53:53 +08:00
parent fc831e04c1
commit eaf2437633
4 changed files with 75 additions and 44 deletions

View File

@@ -4,11 +4,11 @@
从文件系统加载预定义的工作流模板
"""
import os
import yaml
from pathlib import Path
from typing import Optional
import yaml
class TemplateLoader:
"""工作流模板加载器"""