From 13501a38965db55f5837c8a81f8546ead4c1d22a Mon Sep 17 00:00:00 2001 From: Yuqi Tang Date: Fri, 27 Jun 2025 14:05:42 -0700 Subject: [PATCH] fix: update templates api keys (#8752) * update templates api keys * Update src/backend/base/langflow/initial_setup/starter_projects/Meeting Summary.json Co-authored-by: Cristhian Zanforlin Lousa * Update src/backend/base/langflow/initial_setup/starter_projects/Meeting Summary.json Co-authored-by: Cristhian Zanforlin Lousa * Update Text Sentiment Analysis.json * cust comp test fix --------- Co-authored-by: Cristhian Zanforlin Lousa Co-authored-by: Eric Hare Co-authored-by: Mike Fortman --- .../Basic Prompt Chaining.json | 12 ++++++------ .../starter_projects/Basic Prompting.json | 4 ++-- .../starter_projects/Blog Writer.json | 4 ++-- .../Custom Component Maker.json | 4 ++-- .../starter_projects/Hybrid Search RAG.json | 4 ++-- .../starter_projects/Instagram Copywriter.json | 16 ++++++++-------- .../starter_projects/Invoice Summarizer.json | 4 ++-- .../starter_projects/Market Research.json | 12 ++++++------ .../starter_projects/Meeting Summary.json | 18 +++++++++--------- .../starter_projects/News Aggregator.json | 8 ++++---- .../starter_projects/Pokédex Agent.json | 4 ++-- .../starter_projects/Price Deal Finder.json | 12 ++++++------ .../starter_projects/Research Agent.json | 16 ++++++++-------- .../Research Translation Loop.json | 4 ++-- .../SEO Keyword Generator.json | 4 ++-- .../starter_projects/SaaS Pricing.json | 4 ++-- .../starter_projects/Search agent.json | 8 ++++---- .../Sequential Tasks Agents.json | 10 +++++----- .../starter_projects/Simple Agent.json | 2 +- .../starter_projects/Social Media Agent.json | 4 ++-- .../Travel Planning Agents.json | 10 +++++----- .../Twitter Thread Generator.json | 6 +++--- .../starter_projects/Vector Store RAG.json | 8 ++++---- .../starter_projects/Youtube Analysis.json | 12 ++++++------ .../Custom Component Generator.spec.ts | 3 +++ 25 files changed, 98 insertions(+), 95 deletions(-) diff --git a/src/backend/base/langflow/initial_setup/starter_projects/Basic Prompt Chaining.json b/src/backend/base/langflow/initial_setup/starter_projects/Basic Prompt Chaining.json index bf1216e06..8fd1830f1 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/Basic Prompt Chaining.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/Basic Prompt Chaining.json @@ -1269,7 +1269,7 @@ "dynamic": false, "info": "Model Provider API key", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -1278,7 +1278,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, @@ -1556,7 +1556,7 @@ "dynamic": false, "info": "Model Provider API key", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -1565,7 +1565,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, @@ -1843,7 +1843,7 @@ "dynamic": false, "info": "Model Provider API key", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -1852,7 +1852,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, diff --git a/src/backend/base/langflow/initial_setup/starter_projects/Basic Prompting.json b/src/backend/base/langflow/initial_setup/starter_projects/Basic Prompting.json index 074b45327..97ae44db3 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/Basic Prompting.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/Basic Prompting.json @@ -961,7 +961,7 @@ "dynamic": false, "info": "Model Provider API key", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -970,7 +970,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, diff --git a/src/backend/base/langflow/initial_setup/starter_projects/Blog Writer.json b/src/backend/base/langflow/initial_setup/starter_projects/Blog Writer.json index 19458efc3..2f72e51a8 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/Blog Writer.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/Blog Writer.json @@ -1379,7 +1379,7 @@ "dynamic": false, "info": "Model Provider API key", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -1388,7 +1388,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, diff --git a/src/backend/base/langflow/initial_setup/starter_projects/Custom Component Maker.json b/src/backend/base/langflow/initial_setup/starter_projects/Custom Component Maker.json index ad1fecfb1..097d04499 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/Custom Component Maker.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/Custom Component Maker.json @@ -2626,7 +2626,7 @@ "dynamic": false, "info": "Model Provider API key", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -2635,7 +2635,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "ANTHROPIC_API_KEY" }, "code": { "advanced": true, diff --git a/src/backend/base/langflow/initial_setup/starter_projects/Hybrid Search RAG.json b/src/backend/base/langflow/initial_setup/starter_projects/Hybrid Search RAG.json index 0162b2dca..245e3b698 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/Hybrid Search RAG.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/Hybrid Search RAG.json @@ -1263,7 +1263,7 @@ "info": "The API Endpoint for the Astra DB instance. Supercedes database selection.", "list": false, "list_add_label": "Add More", - "load_from_db": false, + "load_from_db": true, "name": "api_endpoint", "placeholder": "", "required": false, @@ -1272,7 +1272,7 @@ "tool_mode": false, "trace_as_metadata": true, "type": "str", - "value": "https://f3166ac4-3e2f-4b32-880c-231d1f9e3f3e-us-east-2.apps.astra.datastax.com" + "value": "ASTRA_DB_API_ENDPOINT" }, "astradb_vectorstore_kwargs": { "_input_type": "NestedDictInput", diff --git a/src/backend/base/langflow/initial_setup/starter_projects/Instagram Copywriter.json b/src/backend/base/langflow/initial_setup/starter_projects/Instagram Copywriter.json index 34caedadf..7dbfd8149 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/Instagram Copywriter.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/Instagram Copywriter.json @@ -1691,7 +1691,7 @@ "dynamic": false, "info": "Your Tavily API Key.", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -1699,7 +1699,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "TAVILY_API_KEY" }, "chunks_per_source": { "_input_type": "IntInput", @@ -2186,7 +2186,7 @@ "dynamic": false, "info": "The OpenAI API Key to use for the OpenAI model.", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -2195,7 +2195,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, @@ -2651,7 +2651,7 @@ "dynamic": false, "info": "Model Provider API key", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -2660,7 +2660,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, @@ -2943,7 +2943,7 @@ "dynamic": false, "info": "Model Provider API key", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -2952,7 +2952,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, diff --git a/src/backend/base/langflow/initial_setup/starter_projects/Invoice Summarizer.json b/src/backend/base/langflow/initial_setup/starter_projects/Invoice Summarizer.json index 02d1ff930..b11bac93a 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/Invoice Summarizer.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/Invoice Summarizer.json @@ -1311,7 +1311,7 @@ "dynamic": false, "info": "The OpenAI API Key to use for the OpenAI model.", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -1320,7 +1320,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, diff --git a/src/backend/base/langflow/initial_setup/starter_projects/Market Research.json b/src/backend/base/langflow/initial_setup/starter_projects/Market Research.json index 6b545e34f..a8a721f60 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/Market Research.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/Market Research.json @@ -1198,7 +1198,7 @@ "dynamic": false, "info": "Your Tavily API Key.", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -1206,7 +1206,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "TAVILY_API_KEY" }, "chunks_per_source": { "_input_type": "IntInput", @@ -1788,7 +1788,7 @@ "dynamic": false, "info": "Model Provider API key", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -1797,7 +1797,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, @@ -2160,7 +2160,7 @@ "dynamic": false, "info": "The OpenAI API Key to use for the OpenAI model.", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -2169,7 +2169,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, diff --git a/src/backend/base/langflow/initial_setup/starter_projects/Meeting Summary.json b/src/backend/base/langflow/initial_setup/starter_projects/Meeting Summary.json index fc88b85a0..d5355e361 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/Meeting Summary.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/Meeting Summary.json @@ -342,7 +342,7 @@ "dynamic": false, "info": "Your AssemblyAI API key. You can get one from https://www.assemblyai.com/", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -350,7 +350,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "ASSEMBLYAI_API_KEY" }, "code": { "advanced": true, @@ -2461,7 +2461,7 @@ } ], "pinned": false, - "score": 0.000018578044550916993, + "score": 1.8578044550916993e-05, "template": { "_type": "Component", "api_key": { @@ -2471,7 +2471,7 @@ "dynamic": false, "info": "Your AssemblyAI API key. You can get one from https://www.assemblyai.com/", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -2479,7 +2479,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "ASSEMBLYAI_API_KEY" }, "audio_file": { "_input_type": "FileInput", @@ -3050,7 +3050,7 @@ "dynamic": false, "info": "Model Provider API key", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -3059,7 +3059,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, @@ -3345,7 +3345,7 @@ "dynamic": false, "info": "Model Provider API key", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -3354,7 +3354,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, diff --git a/src/backend/base/langflow/initial_setup/starter_projects/News Aggregator.json b/src/backend/base/langflow/initial_setup/starter_projects/News Aggregator.json index 21d0f890b..41bb65f2a 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/News Aggregator.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/News Aggregator.json @@ -227,7 +227,7 @@ "dynamic": false, "info": "Your AgentQL API key from dev.agentql.com", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -235,7 +235,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "AGENTQL_API_KEY" }, "code": { "advanced": true, @@ -1477,7 +1477,7 @@ "dynamic": false, "info": "The OpenAI API Key to use for the OpenAI model.", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -1486,7 +1486,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, diff --git a/src/backend/base/langflow/initial_setup/starter_projects/Pokédex Agent.json b/src/backend/base/langflow/initial_setup/starter_projects/Pokédex Agent.json index 5e1575f02..3a6f08a47 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/Pokédex Agent.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/Pokédex Agent.json @@ -1391,7 +1391,7 @@ "dynamic": false, "info": "The OpenAI API Key to use for the OpenAI model.", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -1400,7 +1400,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, diff --git a/src/backend/base/langflow/initial_setup/starter_projects/Price Deal Finder.json b/src/backend/base/langflow/initial_setup/starter_projects/Price Deal Finder.json index d17712f1b..adce88304 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/Price Deal Finder.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/Price Deal Finder.json @@ -792,7 +792,7 @@ "dynamic": false, "info": "Your Tavily API Key.", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -800,7 +800,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "TAVILY_API_KEY" }, "chunks_per_source": { "_input_type": "IntInput", @@ -1190,7 +1190,7 @@ "dynamic": false, "info": "Your AgentQL API key from dev.agentql.com", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -1198,7 +1198,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "AGENTQL_API_KEY" }, "code": { "advanced": true, @@ -1750,7 +1750,7 @@ "dynamic": false, "info": "The OpenAI API Key to use for the OpenAI model.", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -1759,7 +1759,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, diff --git a/src/backend/base/langflow/initial_setup/starter_projects/Research Agent.json b/src/backend/base/langflow/initial_setup/starter_projects/Research Agent.json index 30e8b374a..35649eef8 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/Research Agent.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/Research Agent.json @@ -1295,7 +1295,7 @@ "dynamic": false, "info": "Your Tavily API Key.", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -1303,7 +1303,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "TAVILY_API_KEY" }, "chunks_per_source": { "_input_type": "IntInput", @@ -2021,7 +2021,7 @@ "dynamic": false, "info": "Model Provider API key", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -2030,7 +2030,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, @@ -2313,7 +2313,7 @@ "dynamic": false, "info": "Model Provider API key", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -2322,7 +2322,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, @@ -2684,7 +2684,7 @@ "dynamic": false, "info": "The OpenAI API Key to use for the OpenAI model.", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -2693,7 +2693,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, diff --git a/src/backend/base/langflow/initial_setup/starter_projects/Research Translation Loop.json b/src/backend/base/langflow/initial_setup/starter_projects/Research Translation Loop.json index 473361625..f5b3455cd 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/Research Translation Loop.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/Research Translation Loop.json @@ -1397,7 +1397,7 @@ "dynamic": false, "info": "Model Provider API key", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -1406,7 +1406,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, diff --git a/src/backend/base/langflow/initial_setup/starter_projects/SEO Keyword Generator.json b/src/backend/base/langflow/initial_setup/starter_projects/SEO Keyword Generator.json index 491c49cca..cb1b51060 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/SEO Keyword Generator.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/SEO Keyword Generator.json @@ -936,7 +936,7 @@ "dynamic": false, "info": "Model Provider API key", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -945,7 +945,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, diff --git a/src/backend/base/langflow/initial_setup/starter_projects/SaaS Pricing.json b/src/backend/base/langflow/initial_setup/starter_projects/SaaS Pricing.json index 708d719b7..5f7e0a801 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/SaaS Pricing.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/SaaS Pricing.json @@ -995,7 +995,7 @@ "dynamic": false, "info": "The OpenAI API Key to use for the OpenAI model.", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -1004,7 +1004,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, diff --git a/src/backend/base/langflow/initial_setup/starter_projects/Search agent.json b/src/backend/base/langflow/initial_setup/starter_projects/Search agent.json index 84119498d..af3faab95 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/Search agent.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/Search agent.json @@ -134,7 +134,7 @@ "dynamic": false, "info": "The API key to use ScrapeGraph API.", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -142,7 +142,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "SCRAPEGRAPH_API_KEY" }, "code": { "advanced": true, @@ -1105,7 +1105,7 @@ "dynamic": false, "info": "The OpenAI API Key to use for the OpenAI model.", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -1114,7 +1114,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, diff --git a/src/backend/base/langflow/initial_setup/starter_projects/Sequential Tasks Agents.json b/src/backend/base/langflow/initial_setup/starter_projects/Sequential Tasks Agents.json index 3e11e6dfd..0aaf9a3c9 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/Sequential Tasks Agents.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/Sequential Tasks Agents.json @@ -485,7 +485,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, @@ -1036,7 +1036,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, @@ -2417,7 +2417,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, @@ -3295,7 +3295,7 @@ "dynamic": false, "info": "Your Tavily API Key.", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -3303,7 +3303,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "TAVILY_API_KEY" }, "chunks_per_source": { "_input_type": "IntInput", diff --git a/src/backend/base/langflow/initial_setup/starter_projects/Simple Agent.json b/src/backend/base/langflow/initial_setup/starter_projects/Simple Agent.json index 7d66e294e..de1ff0a84 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/Simple Agent.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/Simple Agent.json @@ -1106,7 +1106,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, diff --git a/src/backend/base/langflow/initial_setup/starter_projects/Social Media Agent.json b/src/backend/base/langflow/initial_setup/starter_projects/Social Media Agent.json index b27a9fc6e..aee38a166 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/Social Media Agent.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/Social Media Agent.json @@ -1411,7 +1411,7 @@ "dynamic": false, "info": "The OpenAI API Key to use for the OpenAI model.", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -1420,7 +1420,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, diff --git a/src/backend/base/langflow/initial_setup/starter_projects/Travel Planning Agents.json b/src/backend/base/langflow/initial_setup/starter_projects/Travel Planning Agents.json index 2a3bd9dc4..4c157593d 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/Travel Planning Agents.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/Travel Planning Agents.json @@ -1600,7 +1600,7 @@ "dynamic": false, "info": "", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -1608,7 +1608,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "SEARCHAPI_API_KEY" }, "code": { "advanced": true, @@ -1958,7 +1958,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, @@ -2502,7 +2502,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, @@ -3046,7 +3046,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, diff --git a/src/backend/base/langflow/initial_setup/starter_projects/Twitter Thread Generator.json b/src/backend/base/langflow/initial_setup/starter_projects/Twitter Thread Generator.json index 4114c80a9..76261402f 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/Twitter Thread Generator.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/Twitter Thread Generator.json @@ -1901,16 +1901,16 @@ "dynamic": false, "info": "Model Provider API key", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, - "placeholder": "", + "placeholder": "OPENAI_API_KEY", "real_time_refresh": true, "required": false, "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, diff --git a/src/backend/base/langflow/initial_setup/starter_projects/Vector Store RAG.json b/src/backend/base/langflow/initial_setup/starter_projects/Vector Store RAG.json index bdd8f5357..6c86e06ec 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/Vector Store RAG.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/Vector Store RAG.json @@ -2765,7 +2765,7 @@ "info": "The API Endpoint for the Astra DB instance. Supercedes database selection.", "list": false, "list_add_label": "Add More", - "load_from_db": false, + "load_from_db": true, "name": "api_endpoint", "placeholder": "", "required": false, @@ -2774,7 +2774,7 @@ "tool_mode": false, "trace_as_metadata": true, "type": "str", - "value": "" + "value": "ASTRA_DB_API_ENDPOINT" }, "astradb_vectorstore_kwargs": { "_input_type": "NestedDictInput", @@ -3526,7 +3526,7 @@ "info": "The API Endpoint for the Astra DB instance. Supercedes database selection.", "list": false, "list_add_label": "Add More", - "load_from_db": false, + "load_from_db": true, "name": "api_endpoint", "placeholder": "", "required": false, @@ -3535,7 +3535,7 @@ "tool_mode": false, "trace_as_metadata": true, "type": "str", - "value": "" + "value": "ASTRA_DB_API_ENDPOINT" }, "astradb_vectorstore_kwargs": { "_input_type": "NestedDictInput", diff --git a/src/backend/base/langflow/initial_setup/starter_projects/Youtube Analysis.json b/src/backend/base/langflow/initial_setup/starter_projects/Youtube Analysis.json index a29c61e9a..ba9cc4a55 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/Youtube Analysis.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/Youtube Analysis.json @@ -582,7 +582,7 @@ "dynamic": false, "info": "Your YouTube Data API key.", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -590,7 +590,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "YOUTUBE_API_KEY" }, "code": { "advanced": true, @@ -889,7 +889,7 @@ "dynamic": false, "info": "The OpenAI API Key to use for the OpenAI model.", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -898,7 +898,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, @@ -2923,7 +2923,7 @@ "dynamic": false, "info": "Model Provider API key", "input_types": [], - "load_from_db": false, + "load_from_db": true, "name": "api_key", "password": true, "placeholder": "", @@ -2932,7 +2932,7 @@ "show": true, "title_case": false, "type": "str", - "value": "" + "value": "OPENAI_API_KEY" }, "code": { "advanced": true, diff --git a/src/frontend/tests/core/integrations/Custom Component Generator.spec.ts b/src/frontend/tests/core/integrations/Custom Component Generator.spec.ts index d4967e2c7..b0795718e 100644 --- a/src/frontend/tests/core/integrations/Custom Component Generator.spec.ts +++ b/src/frontend/tests/core/integrations/Custom Component Generator.spec.ts @@ -40,6 +40,9 @@ withEventDeliveryModes( await page.waitForTimeout(1000); try { + await page.waitForSelector("anchor-popover-anchor-input-api_key", { + timeout: 5000, + }); await page .getByTestId("anchor-popover-anchor-input-api_key") .locator("input")