You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🐛 Bug Report: Pinecone, LangChain RAG and Replicate function templates ask for variables their code doesn't read #15372
Three Console function templates ask for environment variables that the template code doesn't read. Functions created from them fail on every execution until the user adds the expected variable by hand.
Details
Template
app/config/templates/function.php asks for
Template code at 1.2.0 requires
sync-with-pinecone
PINECONE_INDEX_NAME
PINECONE_INDEX_ID (throwIfMissing in node/sync-with-pinecone/src/main.js)
REPLICATE_API_TOKEN (node/generate-with-replicate/src/main.js; it's also the Replicate SDK's variable)
The Pinecone variable was renamed in the config in 8a4954d (2025-03-08), but the templates weren't updated.
generate-with-replicate is also listed twice in app/config/templates/function.php.
Suggested fix
Rename the config variables to match the code, or update the templates and bump providerVersion. Then drop the duplicate Replicate entry.
Notes
This turned up while adding function templates to the appwrite.io integrations catalog. The Pinecone, LangChain and Replicate pages are held back until this is fixed.
Activity