fix: add secret key loading functionality to basic templates (#7363)

* add secret keys to templates

* 🐛 (Simple Agent.json): fix load_from_db value to true to correctly load data from the database instead of false

* 🐛 (Vector Store RAG.json): Fix load_from_db value to true for API Endpoint configuration to correctly load from database
🐛 (Vector Store RAG.json): Fix value to "ASTRA_DB_API_ENDPOINT" for api_endpoint configuration to set the correct default value
🐛 (Vector Store RAG.json): Fix load_from_db value to true for API Endpoint configuration to correctly load from database
🐛 (Vector Store RAG.json): Fix value to "ASTRA_DB_APPLICATION_TOKEN" for application_token configuration to set the correct default value

* 🐛 (Meeting Summary.json, Search agent.json): Fix issue where load_from_db was incorrectly set to false instead of true for certain fields in JSON files
This commit is contained in:
Cristhian Zanforlin Lousa 2025-03-31 15:20:54 -03:00 committed by GitHub
commit a84335af78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 41 additions and 41 deletions

View file

@ -840,7 +840,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "OPENAI_API_KEY"
},
"code": {
"advanced": true,

View file

@ -1307,7 +1307,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "OPENAI_API_KEY"
},
"code": {
"advanced": true,

View file

@ -206,7 +206,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "OPENAI_API_KEY"
},
"code": {
"advanced": true,

View file

@ -1033,7 +1033,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "OPENAI_API_KEY"
},
"code": {
"advanced": true,

View file

@ -595,7 +595,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "OPENAI_API_KEY"
},
"base_url": {
"_input_type": "MessageTextInput",

View file

@ -1322,7 +1322,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "OPENAI_API_KEY"
},
"code": {
"advanced": true,
@ -1856,7 +1856,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "TAVILY_API_KEY"
},
"code": {
"advanced": true,
@ -2243,7 +2243,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "OPENAI_API_KEY"
},
"code": {
"advanced": true,

View file

@ -339,7 +339,7 @@
"input_types": [
"Message"
],
"load_from_db": false,
"load_from_db": true,
"name": "api_key",
"password": true,
"placeholder": "",
@ -347,7 +347,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "ASSEMBLYAI_API_KEY"
},
"code": {
"advanced": true,
@ -520,7 +520,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "OPENAI_API_KEY"
},
"code": {
"advanced": true,
@ -1654,7 +1654,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "OPENAI_API_KEY"
},
"code": {
"advanced": true,
@ -3161,7 +3161,7 @@
"input_types": [
"Message"
],
"load_from_db": false,
"load_from_db": true,
"name": "api_key",
"password": true,
"placeholder": "",
@ -3169,7 +3169,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "ASSEMBLYAI_API_KEY"
},
"audio_file": {
"_input_type": "FileInput",

View file

@ -243,7 +243,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "AGENTQL_API_KEY"
},
"code": {
"advanced": true,
@ -1077,7 +1077,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "OPENAI_API_KEY"
},
"code": {
"advanced": true,

View file

@ -399,7 +399,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "ANTHROPIC_API_KEY"
},
"base_url": {
"_input_type": "MessageTextInput",
@ -735,7 +735,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "ANTHROPIC_API_KEY"
},
"base_url": {
"_input_type": "MessageTextInput",

View file

@ -809,7 +809,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "TAVILY_API_KEY"
},
"code": {
"advanced": true,
@ -1166,7 +1166,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "AGENTQL_API_KEY"
},
"code": {
"advanced": true,
@ -1660,7 +1660,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "OPENAI_API_KEY"
},
"code": {
"advanced": true,

View file

@ -134,7 +134,7 @@
"input_types": [
"Message"
],
"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,
@ -1186,7 +1186,7 @@
"input_types": [
"Message"
],
"load_from_db": false,
"load_from_db": true,
"name": "api_key",
"password": true,
"placeholder": "",
@ -1194,7 +1194,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "OPENAI_API_KEY"
},
"code": {
"advanced": true,

View file

@ -832,7 +832,7 @@
"input_types": [
"Message"
],
"load_from_db": false,
"load_from_db": true,
"name": "api_key",
"password": true,
"placeholder": "",
@ -840,7 +840,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "OPENAI_API_KEY"
},
"code": {
"advanced": true,

View file

@ -935,7 +935,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "OPENAI_API_KEY"
},
"code": {
"advanced": true,
@ -1317,7 +1317,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "OPENAI_API_KEY"
},
"code": {
"advanced": true,
@ -1828,7 +1828,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "OPENAI_API_KEY"
},
"code": {
"advanced": true,

View file

@ -2856,7 +2856,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "OPENAI_API_KEY"
},
"code": {
"advanced": true,
@ -3271,7 +3271,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,
@ -3280,7 +3280,7 @@
"tool_mode": false,
"trace_as_metadata": true,
"type": "str",
"value": ""
"value": "ASTRA_DB_API_ENDPOINT"
},
"astradb_vectorstore_kwargs": {
"_input_type": "NestedDictInput",
@ -3860,7 +3860,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "ASTRA_DB_APPLICATION_TOKEN"
}
},
"tool_mode": false
@ -4002,7 +4002,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,
@ -4011,7 +4011,7 @@
"tool_mode": false,
"trace_as_metadata": true,
"type": "str",
"value": ""
"value": "ASTRA_DB_API_ENDPOINT"
},
"astradb_vectorstore_kwargs": {
"_input_type": "NestedDictInput",
@ -4578,7 +4578,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "ASTRA_DB_APPLICATION_TOKEN"
}
},
"tool_mode": false

View file

@ -559,7 +559,7 @@
"input_types": [
"Message"
],
"load_from_db": false,
"load_from_db": true,
"name": "api_key",
"password": true,
"placeholder": "",
@ -567,7 +567,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "YOUTUBE_API_KEY"
},
"code": {
"advanced": true,
@ -796,7 +796,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "OPENAI_API_KEY"
},
"code": {
"advanced": true,
@ -1248,7 +1248,7 @@
"show": true,
"title_case": false,
"type": "str",
"value": ""
"value": "OPENAI_API_KEY"
},
"code": {
"advanced": true,