Spaces:
Sleeping
Sleeping
Update tools/n8n_builder.py
Browse files- tools/n8n_builder.py +1 -1
tools/n8n_builder.py
CHANGED
|
@@ -123,7 +123,7 @@ class N8NWorkflowBuilder:
|
|
| 123 |
# Use Gemini to break down the query into workflow steps
|
| 124 |
logger.info("Configuring Gemini API...")
|
| 125 |
genai.configure(api_key=settings.GEMINI_API_KEY)
|
| 126 |
-
model = genai.GenerativeModel('gemini-2.
|
| 127 |
|
| 128 |
prompt = f"""Analyze this automation request and break it into n8n workflow nodes:
|
| 129 |
|
|
|
|
| 123 |
# Use Gemini to break down the query into workflow steps
|
| 124 |
logger.info("Configuring Gemini API...")
|
| 125 |
genai.configure(api_key=settings.GEMINI_API_KEY)
|
| 126 |
+
model = genai.GenerativeModel('gemini-2.5-flash')
|
| 127 |
|
| 128 |
prompt = f"""Analyze this automation request and break it into n8n workflow nodes:
|
| 129 |
|