Revert "chores: move model name to centralized env variable"

This reverts commit d2695f9bcbb6b8b4c6c707d64951c300e796f543.
This commit is contained in:
laansdole 2026-01-22 22:42:00 +07:00
parent bd8a4550fe
commit 9d4a1e1f09
31 changed files with 125 additions and 158 deletions

View File

@ -1,31 +0,0 @@
# ============================================================================
# LLM Provider Configuration (OpenAI-Compatible API)
# ============================================================================
# This project supports any OpenAI-compatible API provider.
# Configure BASE_URL, API_KEY, and MODEL_NAME based on your chosen provider.
# ----------------------------------------------------------------------------
# Option 1: OpenAI
# ----------------------------------------------------------------------------
BASE_URL=https://api.openai.com/v1
API_KEY=sk-your-openai-api-key-here
MODEL_NAME=gpt-4o
# ----------------------------------------------------------------------------
# Option 2: Other OpenAI-Compatible Providers
# ----------------------------------------------------------------------------
# Example for LM Studio
# BASE_URL=http://localhost:1234/v1
# API_KEY=lm-studio
# MODEL_NAME=local-model
# ============================================================================
# Optional: Web Search and Reading Tools
# ============================================================================
# SERPER_DEV_API_KEY=your-serper-api-key-here
# Get from: https://serper.dev
# JINA_API_KEY=your-jina-api-key-here
# Get from: https://jina.ai

View File

@ -38,7 +38,7 @@ graph:
- id: Programmer Code Review - id: Programmer Code Review
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
role: |- role: |-
${COMMON_PROMPT} ${COMMON_PROMPT}
You are Programmer. we are both working at ChatDev. We share a common interest in collaborating to successfully complete a task assigned by a new customer. You are Programmer. we are both working at ChatDev. We share a common interest in collaborating to successfully complete a task assigned by a new customer.
@ -71,7 +71,7 @@ graph:
- id: Programmer Test Modification - id: Programmer Test Modification
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
role: |- role: |-
${COMMON_PROMPT} ${COMMON_PROMPT}
You are Programmer. we are both working at ChatDev. We share a common interest in collaborating to successfully complete a task assigned by a new customer. You are Programmer. we are both working at ChatDev. We share a common interest in collaborating to successfully complete a task assigned by a new customer.
@ -104,7 +104,7 @@ graph:
- id: Chief Executive Officer - id: Chief Executive Officer
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: |- role: |-
${COMMON_PROMPT} ${COMMON_PROMPT}
@ -166,7 +166,7 @@ graph:
- id: Programmer Code Complete - id: Programmer Code Complete
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: |- role: |-
${COMMON_PROMPT} ${COMMON_PROMPT}
@ -214,7 +214,7 @@ graph:
- id: Programmer Coding - id: Programmer Coding
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: |- role: |-
${COMMON_PROMPT} ${COMMON_PROMPT}
@ -265,7 +265,7 @@ graph:
- id: Chief Product Officer - id: Chief Product Officer
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: |- role: |-
${COMMON_PROMPT} ${COMMON_PROMPT}
@ -323,7 +323,7 @@ graph:
- id: Programmer Test Error Summary - id: Programmer Test Error Summary
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: |- role: |-
${COMMON_PROMPT} ${COMMON_PROMPT}
@ -360,7 +360,7 @@ graph:
- id: Code Reviewer - id: Code Reviewer
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: |- role: |-
${COMMON_PROMPT} ${COMMON_PROMPT}
@ -458,7 +458,7 @@ graph:
- id: Software Test Engineer - id: Software Test Engineer
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: |- role: |-
${COMMON_PROMPT} ${COMMON_PROMPT}

View File

@ -9,7 +9,7 @@ graph:
context_window: 0 context_window: 0
config: config:
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
role: |- role: |-
@ -70,7 +70,7 @@ graph:
context_window: 0 context_window: 0
config: config:
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
role: |- role: |-
@ -132,7 +132,7 @@ graph:
context_window: 6 context_window: 6
config: config:
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
role: |- role: |-
@ -211,7 +211,7 @@ graph:
context_window: 6 context_window: 6
config: config:
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
role: |- role: |-
@ -370,7 +370,7 @@ graph:
context_window: 0 context_window: 0
config: config:
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
role: |- role: |-
@ -414,7 +414,7 @@ graph:
context_window: 6 context_window: 6
config: config:
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
role: |- role: |-
@ -488,7 +488,7 @@ graph:
context_window: 6 context_window: 6
config: config:
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
role: |- role: |-
@ -562,7 +562,7 @@ graph:
context_window: 6 context_window: 6
config: config:
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
role: |- role: |-

View File

@ -27,7 +27,7 @@ graph:
- id: Aggregate - id: Aggregate
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: |- role: |-
You are an experienced and meticulous software analyst and developer, trusted by others to optimize and enhance their code. Now there are several programs that serve the same purpose and are currently competing in the software development field. You are an experienced and meticulous software analyst and developer, trusted by others to optimize and enhance their code. Now there are several programs that serve the same purpose and are currently competing in the software development field.

View File

@ -40,7 +40,7 @@ graph:
- id: Instructor - id: Instructor
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: |- role: |-
According to the new user's task and our software designs: According to the new user's task and our software designs:
@ -69,7 +69,7 @@ graph:
- id: Instructor After Run Code - id: Instructor After Run Code
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: |- role: |-
According to the new user's task and our software designs: According to the new user's task and our software designs:
@ -98,7 +98,7 @@ graph:
- id: Assistant - id: Assistant
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: |- role: |-
According to the new user's task, our designed product modality and languages, our developed first-edition source codes are listed below: According to the new user's task, our designed product modality and languages, our developed first-edition source codes are listed below:

View File

@ -14,7 +14,7 @@ graph:
description: 'Defines the raw requirements and object manifest.' description: 'Defines the raw requirements and object manifest.'
context_window: 0 context_window: 0
config: config:
name: ${MODEL_NAME} name: gemini-3-pro-preview
role: | role: |
# Role # Role
You are a professional **3D Technical Product Manager**. You are a professional **3D Technical Product Manager**.
@ -74,7 +74,7 @@ graph:
description: 'Splits the spec into Geometry tasks and Decoration tasks.' description: 'Splits the spec into Geometry tasks and Decoration tasks.'
context_window: 0 context_window: 0
config: config:
name: ${MODEL_NAME} name: gemini-3-pro-preview
role: | role: |
# Role # Role
You are the **Technical Planner**. You are the **Technical Planner**.
@ -120,7 +120,7 @@ graph:
description: 'The central brain managing state and routing.' description: 'The central brain managing state and routing.'
context_window: 20 context_window: 20
config: config:
name: ${MODEL_NAME} name: gemini-3-pro-preview
role: | role: |
# Role # Role
You are the **Project Orchestrator**. You are the **Project Orchestrator**.
@ -189,7 +189,7 @@ graph:
description: 'Builds the blockout geometry.' description: 'Builds the blockout geometry.'
context_window: 10 context_window: 10
config: config:
name: ${MODEL_NAME} name: gemini-3-pro-preview
role: | role: |
# Role # Role
You are a **Structure Architect**. You are a **Structure Architect**.
@ -230,7 +230,7 @@ graph:
description: 'Checks geometry scale and physics.' description: 'Checks geometry scale and physics.'
context_window: 5 context_window: 5
config: config:
name: ${MODEL_NAME} name: gemini-3-pro-preview
role: | role: |
# Role # Role
You are a **Civil Engineer**. You are a **Civil Engineer**.
@ -266,7 +266,7 @@ graph:
description: 'Applies materials and lighting.' description: 'Applies materials and lighting.'
context_window: 10 context_window: 10
config: config:
name: ${MODEL_NAME} name: gemini-3-pro-preview
role: | role: |
You are a **Decorator Architect**. You are a **Decorator Architect**.
You have taken over a verified white model. You need to use tools to execute Blender Python code. You have taken over a verified white model. You need to use tools to execute Blender Python code.
@ -303,7 +303,7 @@ graph:
description: 'Checks final visual quality.' description: 'Checks final visual quality.'
context_window: 5 context_window: 5
config: config:
name: ${MODEL_NAME} name: gemini-3-pro-preview
role: | role: |
# Role # Role
You are an **Art Director**. You are an **Art Director**.

View File

@ -14,7 +14,7 @@ graph:
description: '' description: ''
context_window: 0 context_window: 0
config: config:
name: ${MODEL_NAME} name: gemini-3-pro-preview
role: | role: |
# Role # Role
You are a professional **3D Technical Product Manager**. You are a professional **3D Technical Product Manager**.
@ -69,7 +69,7 @@ graph:
description: '' description: ''
context_window: 0 context_window: 0
config: config:
name: ${MODEL_NAME} name: gemini-3-pro-preview
role: | role: |
# Role # Role
You are the **Technical Planner**. You are the **Technical Planner**.
@ -123,7 +123,7 @@ graph:
description: '' description: ''
context_window: 10 context_window: 10
config: config:
name: ${MODEL_NAME} name: gemini-3-pro-preview
role: | role: |
# Identity # Identity
You are a **Procedural Architect**, a top expert in the Blender Python API (bpy). You are a **Procedural Architect**, a top expert in the Blender Python API (bpy).
@ -228,7 +228,7 @@ graph:
description: '' description: ''
context_window: 10 context_window: 10
config: config:
name: ${MODEL_NAME} name: gemini-3-pro-preview
role: | role: |
# Role # Role
You are a **Technical Supervisor**, responsible for the **Sanity Check** of 3D scenes. You are a **Technical Supervisor**, responsible for the **Sanity Check** of 3D scenes.

View File

@ -12,7 +12,7 @@ graph:
description: '' description: ''
context_window: 0 context_window: 0
config: config:
name: ${MODEL_NAME} name: gemini-2.5-flash
role: |- role: |-
You are the **Executor**. You are the **Executor**.
Your role is to act as the bridge between the Agents and the Blender process. Your role is to act as the bridge between the Agents and the Blender process.
@ -50,7 +50,7 @@ graph:
description: '' description: ''
context_window: 6 context_window: 6
config: config:
name: ${MODEL_NAME} name: gemini-3-pro-preview
role: |- role: |-
You are the **Quality Assurance Inspector**. You are the **Quality Assurance Inspector**.
Your ONLY job is to visually inspect the 3D scene and accept or reject it. Your ONLY job is to visually inspect the 3D scene and accept or reject it.
@ -128,7 +128,7 @@ graph:
description: '' description: ''
context_window: 0 context_window: 0
config: config:
name: ${MODEL_NAME} name: gemini-3-pro-preview
role: |- role: |-
You are the **Planner** for a Blender Scientific Visualization System. You are the **Planner** for a Blender Scientific Visualization System.
Your goal is to translate natural language scientific requests (e.g., "Draw a P3HT:PCBM bulk heterojunction") into a structured, step-by-step building plan for the Engineer. Your goal is to translate natural language scientific requests (e.g., "Draw a P3HT:PCBM bulk heterojunction") into a structured, step-by-step building plan for the Engineer.
@ -164,7 +164,7 @@ graph:
description: '' description: ''
context_window: 0 context_window: 0
config: config:
name: ${MODEL_NAME} name: gemini-3-pro-preview
role: |- role: |-
You are the **Scientist** for a Blender Scientific Visualization System. You are the **Scientist** for a Blender Scientific Visualization System.
Your goal is to ensure the scientific accuracy of the visualization by providing precise parameters and physical logic. Your goal is to ensure the scientific accuracy of the visualization by providing precise parameters and physical logic.
@ -198,7 +198,7 @@ graph:
type: agent type: agent
context_window: 10 context_window: 10
config: config:
name: ${MODEL_NAME} name: gemini-3-pro-preview
role: |- role: |-
You are the **Engineer**. You are an expert in the Blender Python API (`bpy`). You are the **Engineer**. You are an expert in the Blender Python API (`bpy`).
Your goal is to write a **COMPLETE, standalone Python script** that builds the scene described by the Planner and Scientist. Your goal is to write a **COMPLETE, standalone Python script** that builds the scene described by the Planner and Scientist.
@ -266,7 +266,7 @@ graph:
description: '' description: ''
context_window: 2 context_window: 2
config: config:
name: ${MODEL_NAME} name: gemini-2.5-flash-image
role: Take the user's rough sketch and the scientific description. role: Take the user's rough sketch and the scientific description.
Generate a high-fidelity, photorealistic scientific illustration. The Generate a high-fidelity, photorealistic scientific illustration. The
goal is to create a visual reference for a 3D modeling team. Ensure goal is to create a visual reference for a 3D modeling team. Ensure

View File

@ -12,7 +12,7 @@ graph:
description: '' description: ''
context_window: 0 context_window: 0
config: config:
name: ${MODEL_NAME} name: gemini-2.5-flash
role: |- role: |-
You are the **Executor**. You are the **Executor**.
Your role is to act as the bridge between the Agents and the Blender process. Your role is to act as the bridge between the Agents and the Blender process.
@ -50,7 +50,7 @@ graph:
description: '' description: ''
context_window: 0 context_window: 0
config: config:
name: ${MODEL_NAME} name: gemini-3-pro-preview
role: |- role: |-
You are the **Scientist** for a Blender Scientific Visualization System. You are the **Scientist** for a Blender Scientific Visualization System.
Your goal is to ensure the scientific accuracy of the visualization by providing precise parameters and physical logic. Your goal is to ensure the scientific accuracy of the visualization by providing precise parameters and physical logic.
@ -81,7 +81,7 @@ graph:
description: '' description: ''
context_window: 0 context_window: 0
config: config:
name: ${MODEL_NAME} name: gemini-3-pro-preview
role: |- role: |-
You are the **Planner** for a Blender Scientific Visualization System. You are the **Planner** for a Blender Scientific Visualization System.
Your goal is to translate natural language scientific requests (e.g., "Draw a P3HT:PCBM bulk heterojunction") into a structured, step-by-step building plan for the Engineer. Your goal is to translate natural language scientific requests (e.g., "Draw a P3HT:PCBM bulk heterojunction") into a structured, step-by-step building plan for the Engineer.
@ -113,7 +113,7 @@ graph:
description: '' description: ''
context_window: 10 context_window: 10
config: config:
name: ${MODEL_NAME} name: gemini-3-pro-preview
role: |- role: |-
You are the **Engineer**. You are an expert in the Blender Python API (`bpy`). You are the **Engineer**. You are an expert in the Blender Python API (`bpy`).
Your goal is to write a **COMPLETE, standalone Python script** that builds the scene described by the Planner and Scientist. Your goal is to write a **COMPLETE, standalone Python script** that builds the scene described by the Planner and Scientist.
@ -177,7 +177,7 @@ graph:
type: agent type: agent
context_window: 0 context_window: 0
config: config:
name: ${MODEL_NAME} name: gemini-3-pro-preview
role: |- role: |-
You are the **Reviewer**. You have access to the live Blender instance via specific tools. You are the **Reviewer**. You have access to the live Blender instance via specific tools.
Your goal is to inspect the generated 3D scene and ensure it matches the Planner's requirements and the Scientist's data. Your goal is to inspect the generated 3D scene and ensure it matches the Planner's requirements and the Scientist's data.

View File

@ -11,7 +11,7 @@ graph:
context_window: -1 context_window: -1
config: config:
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
role: |- role: |-
@ -42,7 +42,7 @@ graph:
context_window: -1 context_window: -1
config: config:
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
role: |- role: |-
@ -75,7 +75,7 @@ graph:
context_window: -1 context_window: -1
config: config:
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
role: |- role: |-
@ -112,7 +112,7 @@ graph:
context_window: 5 context_window: 5
config: config:
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
role: |- role: |-
@ -148,7 +148,7 @@ graph:
context_window: 5 context_window: 5
config: config:
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
role: |- role: |-

View File

@ -10,7 +10,7 @@ graph:
context_window: -1 context_window: -1
config: config:
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
role: |- role: |-
@ -43,7 +43,7 @@ graph:
context_window: -1 context_window: -1
config: config:
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
role: |- role: |-
@ -80,7 +80,7 @@ graph:
context_window: 5 context_window: 5
config: config:
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
role: |- role: |-
@ -111,7 +111,7 @@ graph:
context_window: 5 context_window: 5
config: config:
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
role: |- role: |-
@ -133,7 +133,7 @@ graph:
context_window: 5 context_window: 5
config: config:
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
role: |- role: |-
@ -179,7 +179,7 @@ graph:
- id: MetaData Analyst - id: MetaData Analyst
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: |- role: |-
You are a highly fault-tolerant Python data metadata analysis expert. [Task] Write Python code to read designated data files, perform deep metadata analysis (Data Profiling), and save the results as a new file ending with _metadata.txt. You must first conduct a preliminary inspection of the data using tools (e.g., describe_available_files, load_file, read_text_file_snippet) (determine file format, delimiters, etc.) to generate precise analysis code. You are a highly fault-tolerant Python data metadata analysis expert. [Task] Write Python code to read designated data files, perform deep metadata analysis (Data Profiling), and save the results as a new file ending with _metadata.txt. You must first conduct a preliminary inspection of the data using tools (e.g., describe_available_files, load_file, read_text_file_snippet) (determine file format, delimiters, etc.) to generate precise analysis code.
@ -219,7 +219,7 @@ graph:
- id: Data Analyst - id: Data Analyst
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: |- role: |-
You are the **[Central Control Node]** of a data analysis pipeline. You are the **[Central Control Node]** of a data analysis pipeline.
@ -258,7 +258,7 @@ graph:
- id: Visualization Programmer2 - id: Visualization Programmer2
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: |- role: |-
You are a **Senior Visualization Engineer** proficient in Matplotlib and Seaborn. Your goal is not merely to "run the code," but to generate **Publication Quality** charts. Note that you have the capability to call the `describe_available_files`, `load_file`, `read_text_file_snippet`, and `install_python_packages` tools. Before starting to write code, you **MUST** check the data files first to understand the data structure. You may also review the execution results of previous code snippets (usually images) to improve the charts. You are a **Senior Visualization Engineer** proficient in Matplotlib and Seaborn. Your goal is not merely to "run the code," but to generate **Publication Quality** charts. Note that you have the capability to call the `describe_available_files`, `load_file`, `read_text_file_snippet`, and `install_python_packages` tools. Before starting to write code, you **MUST** check the data files first to understand the data structure. You may also review the execution results of previous code snippets (usually images) to improve the charts.
@ -295,7 +295,7 @@ graph:
- id: Concluder - id: Concluder
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: |- role: |-
Please read and process all provided PNG images sequentially, performing systematic data analysis for each image according to the following requirements: Please read and process all provided PNG images sequentially, performing systematic data analysis for each image according to the following requirements:

View File

@ -10,7 +10,7 @@ graph:
context_window: -1 context_window: -1
config: config:
provider: gemini provider: gemini
name: ${MODEL_NAME} name: gemini-3-pro-preview
api_key: ${API_KEY} api_key: ${API_KEY}
role: | role: |
You are the "Pre-data Profiling" Agent. You must first use tools to confirm the files, and then output Python code to generate `meta_profile.json` for use by subsequent nodes. You are the "Pre-data Profiling" Agent. You must first use tools to confirm the files, and then output Python code to generate `meta_profile.json` for use by subsequent nodes.
@ -49,7 +49,7 @@ graph:
context_window: -1 context_window: -1
config: config:
provider: gemini provider: gemini
name: ${MODEL_NAME} name: gemini-3-pro-preview
api_key: ${API_KEY} api_key: ${API_KEY}
role: | role: |
You are the Process Central Control. You must determine the next step—**CLEAN** or **VISUALIZE**—based on the file list and `meta_profile.json`. You are the Process Central Control. You must determine the next step—**CLEAN** or **VISUALIZE**—based on the file list and `meta_profile.json`.
@ -82,7 +82,7 @@ graph:
context_window: -1 context_window: -1
config: config:
provider: gemini provider: gemini
name: ${MODEL_NAME} name: gemini-3-pro-preview
api_key: ${API_KEY} api_key: ${API_KEY}
role: | role: |
You are responsible for writing Python data cleaning scripts and outputting `*_cleaned.*` files. You are responsible for writing Python data cleaning scripts and outputting `*_cleaned.*` files.
@ -113,7 +113,7 @@ graph:
context_window: -1 context_window: -1
config: config:
provider: gemini provider: gemini
name: ${MODEL_NAME} name: gemini-3-pro-preview
api_key: ${API_KEY} api_key: ${API_KEY}
role: | role: |
Output a "Visualization Requirements List" that references the field types/suggestions from `meta_profile.json`. Output a "Visualization Requirements List" that references the field types/suggestions from `meta_profile.json`.
@ -135,7 +135,7 @@ graph:
context_window: -1 context_window: -1
config: config:
provider: gemini provider: gemini
name: ${MODEL_NAME} name: gemini-3-pro-preview
api_key: ${API_KEY} api_key: ${API_KEY}
role: | role: |
Convert "requirements + meta_profile" into an executable multi-chart plan `viz_plan.json` (and write to `viz_plan.json`). Convert "requirements + meta_profile" into an executable multi-chart plan `viz_plan.json` (and write to `viz_plan.json`).
@ -164,7 +164,7 @@ graph:
context_window: -1 context_window: -1
config: config:
provider: gemini provider: gemini
name: ${MODEL_NAME} name: gemini-3-pro-preview
api_key: ${API_KEY} api_key: ${API_KEY}
role: | role: |
You are responsible for dispatching charts from `viz_plan.json` sequentially: generating `current_chart.json` and maintaining `chart_progress.json`. You are responsible for dispatching charts from `viz_plan.json` sequentially: generating `current_chart.json` and maintaining `chart_progress.json`.
@ -200,7 +200,7 @@ graph:
context_window: 8 context_window: 8
config: config:
provider: gemini provider: gemini
name: ${MODEL_NAME} name: gemini-3-pro-preview
api_key: ${API_KEY} api_key: ${API_KEY}
role: | role: |
You are responsible for generating only the chart described in `current_chart.json`. You are responsible for generating only the chart described in `current_chart.json`.
@ -231,7 +231,7 @@ graph:
context_window: 8 context_window: 8
config: config:
provider: gemini provider: gemini
name: ${MODEL_NAME} name: gemini-3-pro-preview
api_key: ${API_KEY} api_key: ${API_KEY}
role: | role: |
You are Visual Quality Assurance. Behavior Rules: You are Visual Quality Assurance. Behavior Rules:

View File

@ -35,7 +35,7 @@ graph:
- id: Z - id: Z
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: >- role: >-
You need to plan according to user requests. Use your imagination and You need to plan according to user requests. Use your imagination and
@ -81,7 +81,7 @@ graph:
- id: 'Y' - id: 'Y'
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: >- role: >-
Please aggregate the input content into a final result. Note that you Please aggregate the input content into a final result. Note that you

View File

@ -198,7 +198,7 @@ graph:
- id: B - id: B
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: Please summarize the content of the novel. role: Please summarize the content of the novel.
base_url: ${BASE_URL} base_url: ${BASE_URL}

View File

@ -29,7 +29,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o
role: 'You are an intelligent assistant, skilled at answering user questions based on documents and codebases. role: 'You are an intelligent assistant, skilled at answering user questions based on documents and codebases.
When you see the "===== Relevant Memory =====" section, please use this information to answer the user''s questions. When you see the "===== Relevant Memory =====" section, please use this information to answer the user''s questions.

View File

@ -13,7 +13,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o
role: 'You are a weather inquiry assistant, responsible for calling tools to get the real-time temperature of a specified city. role: 'You are a weather inquiry assistant, responsible for calling tools to get the real-time temperature of a specified city.
The user will input a city name. You need to: The user will input a city name. You need to:
@ -37,7 +37,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o
role: 'You are a lifestyle assistant. The user will provide you with the current temperature of a city (unit might be Celsius or Fahrenheit). role: 'You are a lifestyle assistant. The user will provide you with the current temperature of a city (unit might be Celsius or Fahrenheit).
You need to generate clothing advice based on the temperature. You need to generate clothing advice based on the temperature.

View File

@ -10,10 +10,9 @@ graph:
- id: A - id: A
type: agent type: agent
config: config:
provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o
role: 'You are a writer, skilled at generating a full article based on a word or phrase input by the user. role: 'You are a writer, skilled at generating a full article based on a word or phrase input by the user.
The user will input a word or a short sentence, and you need to generate an article of no less than 2000 words based on it, requiring multiple paragraphs. The user will input a word or a short sentence, and you need to generate an article of no less than 2000 words based on it, requiring multiple paragraphs.
@ -37,10 +36,9 @@ graph:
- id: C - id: C
type: agent type: agent
config: config:
provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o
role: 'You are an editor, skilled at polishing and expanding articles based on feedback from users and humans. role: 'You are an editor, skilled at polishing and expanding articles based on feedback from users and humans.
The user will input an article and human feedback, and you need to polish the article accordingly. The user will input an article and human feedback, and you need to polish the article accordingly.

View File

@ -27,7 +27,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o
role: 'You are a professional writer, skilled at creating high-quality articles based on topics input by the user. role: 'You are a professional writer, skilled at creating high-quality articles based on topics input by the user.
Your writing style is beautiful, and your content is rich, capable of naturally integrating relevant memory content. Your writing style is beautiful, and your content is rich, capable of naturally integrating relevant memory content.

View File

@ -14,7 +14,7 @@ graph:
type: agent type: agent
config: config:
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
role: You are a helpful assistant. Respond with 'Option A' role: You are a helpful assistant. Respond with 'Option A'
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
@ -25,7 +25,7 @@ graph:
type: agent type: agent
config: config:
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
role: You are a helpful assistant. Respond with 'Option A' role: You are a helpful assistant. Respond with 'Option A'
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
@ -36,7 +36,7 @@ graph:
type: agent type: agent
config: config:
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
role: You are a helpful assistant. Respond with 'Option B' role: You are a helpful assistant. Respond with 'Option B'
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}

View File

@ -13,7 +13,7 @@ graph:
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4-turbo
role: "You are a poet, skilled at writing a poem starting from a random number.\nPlease create based on the following requirements:\n 1. The theme is not limited, it can be nature, emotion, philosophy, etc.\n 2. The language should be beautiful and rhythmic.\n 3. Please first call a tool to get a random number, then create a poem based on that number.\n 4. The poem should contain that number.\nThe user will input two numbers, as the range for the random number (minimum and maximum values).\n" role: "You are a poet, skilled at writing a poem starting from a random number.\nPlease create based on the following requirements:\n 1. The theme is not limited, it can be nature, emotion, philosophy, etc.\n 2. The language should be beautiful and rhythmic.\n 3. Please first call a tool to get a random number, then create a poem based on that number.\n 4. The poem should contain that number.\nThe user will input two numbers, as the range for the random number (minimum and maximum values).\n"
tooling: tooling:
- type: mcp_remote - type: mcp_remote
@ -28,7 +28,7 @@ graph:
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4-turbo
role: "You are a literary critic, skilled at analyzing and evaluating poetic works.\nPlease analyze based on the following requirements:\n 1. Poetic Theme: Analyze the theme and core ideas of the poem.\n 2. Artistic Techniques: Evaluate the rhetorical devices and expression skills used in the poem.\n 3. Emotional Expression: Explore the emotions and atmosphere conveyed by the poem.\n 4. Linguistic Style: Comment on the language style and rhythm of the poem.\nPlease ensure your analysis is deep and insightful, helping readers better understand and appreciate the poem.\nPlease repeat the poem content before starting the critique.\n" role: "You are a literary critic, skilled at analyzing and evaluating poetic works.\nPlease analyze based on the following requirements:\n 1. Poetic Theme: Analyze the theme and core ideas of the poem.\n 2. Artistic Techniques: Evaluate the rhetorical devices and expression skills used in the poem.\n 3. Emotional Expression: Explore the emotions and atmosphere conveyed by the poem.\n 4. Linguistic Style: Comment on the language style and rhythm of the poem.\nPlease ensure your analysis is deep and insightful, helping readers better understand and appreciate the poem.\nPlease repeat the poem content before starting the critique.\n"
params: params:
temperature: 0.1 temperature: 0.1

View File

@ -11,7 +11,7 @@ graph:
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
role: | role: |
You are an editor, skilled at expanding and polishing content provided by the user. You are an editor, skilled at expanding and polishing content provided by the user.
The user will provide a piece of text, and you need to expand it into an article of no less than 2000 words, requiring multiple paragraphs, fluent language, and rich content. The user will provide a piece of text, and you need to expand it into an article of no less than 2000 words, requiring multiple paragraphs, fluent language, and rich content.
@ -21,7 +21,7 @@ graph:
- id: A - id: A
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: | role: |
You are a writer, skilled at generating a full article based on a word or phrase input by the user. You are a writer, skilled at generating a full article based on a word or phrase input by the user.

View File

@ -14,7 +14,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o
role: 'You are a literary writer, skilled at generating a complete **prose** piece based on a word or phrase input by the user. role: 'You are a literary writer, skilled at generating a complete **prose** piece based on a word or phrase input by the user.
The user will input a word or a short sentence, and you need to generate a **prose** piece of no less than 2000 words based on it, requiring multiple paragraphs, rich in **beauty** rather than introductory text. The user will input a word or a short sentence, and you need to generate a **prose** piece of no less than 2000 words based on it, requiring multiple paragraphs, rich in **beauty** rather than introductory text.
@ -38,7 +38,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o
role: 'You are an editor, skilled at providing article revision suggestions. role: 'You are an editor, skilled at providing article revision suggestions.
Please provide specific revision suggestions based on the article provided by the user, covering content, structure, and language. Please provide specific revision suggestions based on the article provided by the user, covering content, structure, and language.
@ -56,7 +56,7 @@ graph:
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
role: 'You are a writer, skilled at revising articles. role: 'You are a writer, skilled at revising articles.
Please revise the article based on the article and revision suggestions provided by the user. Please revise the article based on the article and revision suggestions provided by the user.

View File

@ -14,7 +14,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o
role: 'You are a writer, skilled at generating a full article based on a word or phrase input by the user. role: 'You are a writer, skilled at generating a full article based on a word or phrase input by the user.
The user will input a word or a short sentence, and you need to generate an article of no less than 2000 words based on it, requiring multiple paragraphs. The user will input a word or a short sentence, and you need to generate an article of no less than 2000 words based on it, requiring multiple paragraphs.
@ -35,7 +35,7 @@ graph:
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
provider: openai provider: openai
name: ${MODEL_NAME} name: gpt-4o
role: 'You are a writer, skilled at revising articles. role: 'You are a writer, skilled at revising articles.
Please revise the article based on the article and revision suggestions provided. Please revise the article based on the article and revision suggestions provided.

View File

@ -19,7 +19,7 @@ graph:
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
input_mode: messages input_mode: messages
name: ${MODEL_NAME} name: gpt-4o
role: | role: |
你是一位作家,擅长根据用户输入的一个词句生成一整篇文章。 你是一位作家,擅长根据用户输入的一个词句生成一整篇文章。
用户会输入一个词语或一个短句,你需要据此生成一篇不少于 2000 字的文章,要求含有多个段落。 用户会输入一个词语或一个短句,你需要据此生成一篇不少于 2000 字的文章,要求含有多个段落。
@ -33,7 +33,7 @@ graph:
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
input_mode: messages input_mode: messages
name: ${MODEL_NAME} name: gpt-4o
role: | role: |
你是一位编辑,请你根据输入的文章与诗词,进行结合,文章最后应当附上诗词。 你是一位编辑,请你根据输入的文章与诗词,进行结合,文章最后应当附上诗词。
params: params:
@ -48,7 +48,7 @@ graph:
- id: Editor 2 - id: Editor 2
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: | role: |
你是一位编辑,擅长对文章进行整合和润色。 你是一位编辑,擅长对文章进行整合和润色。
@ -67,7 +67,7 @@ graph:
- id: Poet - id: Poet
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: | role: |
你是一位诗人,擅长根据用户输入的一个词句生成一首古体诗。 你是一位诗人,擅长根据用户输入的一个词句生成一首古体诗。

View File

@ -19,7 +19,7 @@ graph:
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
input_mode: messages input_mode: messages
name: ${MODEL_NAME} name: gpt-4o
role: | role: |
You are a writer who excels at generating a full article from a single word or short phrase. You are a writer who excels at generating a full article from a single word or short phrase.
The user will input a word or short phrase, and you must produce an article of at least 2000 words with multiple paragraphs. The user will input a word or short phrase, and you must produce an article of at least 2000 words with multiple paragraphs.
@ -33,7 +33,7 @@ graph:
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
input_mode: messages input_mode: messages
name: ${MODEL_NAME} name: gpt-4o
role: | role: |
You are an editor. Combine the article and the poem, and append the poem at the end of the article. You are an editor. Combine the article and the poem, and append the poem at the end of the article.
params: params:
@ -48,7 +48,7 @@ graph:
- id: Editor 2 - id: Editor 2
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: | role: |
You are an editor skilled at integrating and polishing an article. You are an editor skilled at integrating and polishing an article.
@ -67,7 +67,7 @@ graph:
- id: Poet - id: Poet
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gpt-4o
provider: openai provider: openai
role: | role: |
You are a poet who crafts a modern English poem based on a single word or short phrase. You are a poet who crafts a modern English poem based on a single word or short phrase.

View File

@ -18,7 +18,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o
input_mode: messages input_mode: messages
role: | role: |
You are the preprocessor for the ReAct Agent. You are the preprocessor for the ReAct Agent.
@ -44,7 +44,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o
input_mode: prompt input_mode: prompt
role: | role: |
You are a Quality Control Editor. You are a Quality Control Editor.

View File

@ -17,7 +17,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o-mini
input_mode: messages input_mode: messages
role: | role: |
You are a marketing strategy manager. Normalize the user input into: You are a marketing strategy manager. Normalize the user input into:
@ -34,7 +34,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o-mini
input_mode: messages input_mode: messages
role: | role: |
You are a strategy researcher. Based on the JSON from Intake Planner, generate 3-5 background bullets: You are a strategy researcher. Based on the JSON from Intake Planner, generate 3-5 background bullets:
@ -59,7 +59,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o
input_mode: messages input_mode: messages
role: | role: |
You are a Customer Success Manager. You are a Customer Success Manager.

View File

@ -15,7 +15,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o
role: 'You are a Romanticism writer, advocating intense emotions, loving and deifying nature, pursuing the extraordinary and the ideal, while emphasizing individualism and a spirit of rebellion. role: 'You are a Romanticism writer, advocating intense emotions, loving and deifying nature, pursuing the extraordinary and the ideal, while emphasizing individualism and a spirit of rebellion.
Please provide revision suggestions for the work according to your style. Please provide revision suggestions for the work according to your style.
@ -30,7 +30,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o
role: 'You are a Realism writer, seeking to objectively and truly reflect life, focusing on social issues and ordinary people, shaping typical characters in typical environments, with a cool and precise narrative style. role: 'You are a Realism writer, seeking to objectively and truly reflect life, focusing on social issues and ordinary people, shaping typical characters in typical environments, with a cool and precise narrative style.
Please provide revision suggestions for the work according to your style. Please provide revision suggestions for the work according to your style.
@ -45,7 +45,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o
role: 'You are a Magical Realism writer, seamlessly blending magic and reality, using exaggeration and absurdity as expressive techniques, blurring the boundaries between reality and fantasy. role: 'You are a Magical Realism writer, seamlessly blending magic and reality, using exaggeration and absurdity as expressive techniques, blurring the boundaries between reality and fantasy.
Please provide revision suggestions for the work according to your style. Please provide revision suggestions for the work according to your style.
@ -60,7 +60,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o
role: 'You are an excellent editor, skilled at providing basic article revision suggestions. role: 'You are an excellent editor, skilled at providing basic article revision suggestions.
You will synthesize suggestions from writers of different styles, balance various plans, and propose practical revision plans to improve the quality of the article. You will synthesize suggestions from writers of different styles, balance various plans, and propose practical revision plans to improve the quality of the article.

View File

@ -18,7 +18,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o
input_mode: messages input_mode: messages
role: | role: |
You are a ReAct controller, needing to make decisions between the toolbox (web_search, get_webpage_content, execute_code, get_city_num, get_weather) and the final answer. You are a ReAct controller, needing to make decisions between the toolbox (web_search, get_webpage_content, execute_code, get_city_num, get_weather) and the final answer.
@ -42,7 +42,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o
input_mode: messages input_mode: messages
role: | role: |
You are the tool executor. You are the tool executor.
@ -58,15 +58,15 @@ graph:
- Do not include trigger in the output to avoid affecting upstream condition judgment. - Do not include trigger in the output to avoid affecting upstream condition judgment.
- Do not provide a final answer. - Do not provide a final answer.
tooling: tooling:
- type: function type: function
config: config:
auto_load: true auto_load: true
tools: tools:
- name: web_search - name: web_search
- name: get_webpage_content - name: get_webpage_content
- name: execute_code - name: execute_code
- name: get_city_num - name: get_city_num
- name: get_weather - name: get_weather
params: params:
temperature: 0.1 temperature: 0.1
max_tokens: 1200 max_tokens: 1200
@ -77,7 +77,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o
input_mode: messages input_mode: messages
role: | role: |
You are responsible for receiving the Final Answer from ReAct Brain and combining it with the most recent Observation (if any) to generate a natural language response. You are responsible for receiving the Final Answer from ReAct Brain and combining it with the most recent Observation (if any) to generate a natural language response.

View File

@ -12,7 +12,7 @@ graph:
- name: reflexion_blackboard - name: reflexion_blackboard
type: blackboard type: blackboard
config: config:
max_items: 500 max_items: 500
nodes: nodes:
- id: Task - id: Task
type: passthrough type: passthrough
@ -24,7 +24,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o-mini
input_mode: messages input_mode: messages
role: | role: |
You are the Actor. If there are relevant memories, refer to that experience and output the latest action draft; if there are no relevant memories, provide an action draft to the best of your ability. You are the Actor. If there are relevant memories, refer to that experience and output the latest action draft; if there are no relevant memories, provide an action draft to the best of your ability.
@ -48,7 +48,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o-mini
input_mode: messages input_mode: messages
role: | role: |
You are the Evaluator. Receive and read the Actor's latest output and task objectives, and evaluate whether they meet the goals. You are the Evaluator. Receive and read the Actor's latest output and task objectives, and evaluate whether they meet the goals.
@ -69,7 +69,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o-mini
input_mode: messages input_mode: messages
role: | role: |
You are responsible for refining the Evaluator output and Actor Draft into JSON experience: You are responsible for refining the Evaluator output and Actor Draft into JSON experience:
@ -93,7 +93,7 @@ graph:
provider: openai provider: openai
base_url: ${BASE_URL} base_url: ${BASE_URL}
api_key: ${API_KEY} api_key: ${API_KEY}
name: ${MODEL_NAME} name: gpt-4o
input_mode: messages input_mode: messages
role: | role: |
Please synthesize all inputs and provide a final answer. Be comprehensive. Do not include any extra text other than the final answer. Please synthesize all inputs and provide a final answer. Be comprehensive. Do not include any extra text other than the final answer.

View File

@ -16,7 +16,7 @@ graph:
- id: Video Concat - id: Video Concat
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gemini-3-flash-preview
provider: gemini provider: gemini
role: 请先调用 describe_available_files检查当前目录中的.mp4文件的路径不同mp4文件的名称代表了他们的内容请你根据他们的名称排序并调用concat_videos工具对其进行拼接。注意concat_videos工具需要的参数是排好序的绝对路径构成的列表 role: 请先调用 describe_available_files检查当前目录中的.mp4文件的路径不同mp4文件的名称代表了他们的内容请你根据他们的名称排序并调用concat_videos工具对其进行拼接。注意concat_videos工具需要的参数是排好序的绝对路径构成的列表
base_url: ${BASE_URL} base_url: ${BASE_URL}
@ -38,7 +38,7 @@ graph:
- id: Content Composer - id: Content Composer
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gemini-3-flash-preview
provider: gemini provider: gemini
role: |- role: |-
你是一名严谨的课程内容助教,请对你收到的内容生成一份教学大纲。 你是一名严谨的课程内容助教,请对你收到的内容生成一份教学大纲。
@ -59,7 +59,7 @@ graph:
- id: Code Generator - id: Code Generator
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gemini-3-flash-preview
provider: gemini provider: gemini
role: |- role: |-
你是一名 **Manim 动画生成 Agent**,具备自动规划、代码生成与执行能力。 你是一名 **Manim 动画生成 Agent**,具备自动规划、代码生成与执行能力。
@ -152,7 +152,7 @@ graph:
- id: Concluder - id: Concluder
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gemini-3-flash-preview
provider: gemini provider: gemini
role: |- role: |-
请先调用 describe_available_files检查当前目录中的.py脚本文件的路径之后直接使用render_manim工具进行渲染此工具的参数只需要{script_path}脚本路径绝对路径如果有多个py文件则需要对每个py文件均运行render_manim工具进行渲染 请先调用 describe_available_files检查当前目录中的.py脚本文件的路径之后直接使用render_manim工具进行渲染此工具的参数只需要{script_path}脚本路径绝对路径如果有多个py文件则需要对每个py文件均运行render_manim工具进行渲染
@ -176,7 +176,7 @@ graph:
- id: Paginator - id: Paginator
type: agent type: agent
config: config:
name: ${MODEL_NAME} name: gemini-3-flash-preview
provider: gemini provider: gemini
role: |- role: |-
你是一位专业的文档格式处理专家,擅长为教学文档添加合适的分页标记。 你是一位专业的文档格式处理专家,擅长为教学文档添加合适的分页标记。