mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-26 23:34:47 +08:00
15 lines
482 B
Python
15 lines
482 B
Python
|
|
# Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
||
|
|
# SPDX-License-Identifier: MIT
|
||
|
|
|
||
|
|
from typing import TypedDict, Optional
|
||
|
|
from src.config.report_style import ReportStyle
|
||
|
|
|
||
|
|
|
||
|
|
class PromptEnhancerState(TypedDict):
|
||
|
|
"""State for the prompt enhancer workflow."""
|
||
|
|
|
||
|
|
prompt: str # Original prompt to enhance
|
||
|
|
context: Optional[str] # Additional context
|
||
|
|
report_style: Optional[ReportStyle] # Report style preference
|
||
|
|
output: Optional[str] # Enhanced prompt result
|