We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7210d1 commit 90f52a3Copy full SHA for 90f52a3
core/context/mcp/MCPConnection.ts
@@ -169,7 +169,12 @@ class MCPConnection {
169
170
const vars = getTemplateVariables(JSON.stringify(this.options));
171
const unrendered = vars.map((v) => {
172
- return decodeSecretLocation(v.replace("secrets.", "")).secretName;
+ const stripped = v.replace("secrets.", "");
173
+ try {
174
+ return decodeSecretLocation(stripped).secretName;
175
+ } catch {
176
+ return stripped;
177
+ }
178
});
179
180
if (unrendered.length > 0) {
0 commit comments