Skip to content

Production Release - 2025-07-09 - #380

Merged
ct3685 merged 24 commits into
productionfrom
staging
Jul 9, 2025
Merged

Production Release - 2025-07-09#380
ct3685 merged 24 commits into
productionfrom
staging

Conversation

@ct3685

@ct3685 ct3685 commented Jul 9, 2025

Copy link
Copy Markdown

This release introduces a zero-configuration credential user experience for AnswerAI (AAI) components in both the Canvas and Marketplace. It also extends the unified configuration pattern for Document Stores and introduces structural improvements for MCP server nodes. Additionally, this update enhances the UI/UX for flow imports, credential management, and tabbed node browsing.

🔑 Major Features & Enhancements

  1. AAI Zero-Config Credential Flow
  • AAI Default Credential Support:
  • All AAI-branded nodes (models, tools, document loaders, etc.) will now automatically use environment variables with the AAI_DEFAULT_ prefix (e.g., AAI_DEFAULT_OPENAI_API_KEY, AAI_DEFAULT_ANTHROPHIC), allowing plug-and-play usage without manual setup for common providers.
  • A new documentation section on AAI Default Environment Variables explains these variables and their integration.
  • Credential Assignment Flow for Imports:
  • Canvas & Marketplace: Upon importing or copying a flow/template that includes nodes requiring credentials, users are shown a new Unified Credentials Modal, displaying all missing credentials in a single, streamlined step.
  • Unified Credential Modal: Supports grouped credentials (e.g., all Redis credential types), credential creation in-place, auto-selection, validation, and the option to skip assignment.
  • Reusable Logic: Includes a custom useCredentialChecker React hook and a robust utility (flowCredentialsHelper.js) for credential extraction, grouping, assignment, and validation.
  1. Improved Document Store Configuration
    Unified Save Pattern:
  • Embedding, Vector Store, and Record Manager configuration are managed and saved as a single unit in both the backend (services/documentstore, with in-file documentation) and frontend (VectorStoreConfigure.jsx, with clear explanatory UI copy), ensuring data consistency and preventing partial/inconsistent state.
  • See code comments and on-screen UI guidance for this new expectation during setup or migrations.
    1. MCP Server Node Pattern Clean-up
  • Consistent Node Contract:
  • All MCP server nodes now follow a documented boilerplate (see new MCP/README.md) ensuring consistency, discoverability, and integration:
  • Always appear under the “Answer” tab via tags: ['AAI'] and category: 'MCP Servers'.
  • Export a standard async action loader and proper documentation.

🧑‍💻 UI/UX Improvements
Tabbed Node Browser (AddNodes.jsx):

  • New “Answer” (AAI) tab as primary node view, with clear iconography.
  • Tabs for Langchain, LlamaIndex, and Utilities & Tools, each with their own icons.
  • Flow Import & Save:
  • Flows created from marketplace or duplicated trigger the save dialog automatically after loading, with proper metadata and source cleaning.
  • Improved Save Chatflow Dialog: Visibility option for the Sidekick Browser Extension.
  • Credential Workflow:
  • Credential modals are more robust, support error handling, and allow direct assignment of new credentials.
  • UI for adding or selecting credentials is visually grouped and more descriptive.
  • Marketplace “Use Sidekick” Flow:
  • Enforces credential checking before opening/copying a template.
  • Adopts the same assignment modal as Canvas import/copy.

🛠️ Technical/Developer Notes

  • AAI Credential Environment Variables:
  • Docs detail usage, fallback hierarchy, security, and troubleshooting tips.
  • All AAI nodes now use these for cloud-provider/model/tool integrations.
  • Credential Checking/Assignment Reusability:
  • Utilities are framework-friendly and designed for extension to future flows.
  • Flow Data Updates:
  • Utilities ensure that credential IDs are attached both to credential and inputs.FLOWISE_CREDENTIAL_ID for compatibility.
  • MCP Node Contracts:
  • All existing MCP nodes are converted, with clear comments and documentation for authorship/extension.

🧪 Testing & Validation

  • Flow or marketplace imports involving nodes needing credentials reproduce the modal.
  • Credential assignment, creation, and skipping all work and result in proper flow state.
  • Tabbed node browsing, save dialog, and import clean-up function as described.
  • Document store configuration updates save/retrieve all configs in one transaction.
  • MCP nodes appear under "Answer" and offer action selection as expected.

🗒️ Notable Files & Modules

  • UI Credential Management:
  • src/hooks/useCredentialChecker.js
  • src/utils/flowCredentialsHelper.js
  • src/ui-component/dialog/UnifiedCredentialsModal.jsx
  • src/views/canvas/index.jsx, src/views/marketplaces/MarketplaceCanvas.jsx, src/views/marketplaces/MarketplaceLanding.jsx
  • AAI Default Credential Usage:
  • Extensive new and updated nodes in components/nodes/chatmodels, components/nodes/tools, etc.
  • Relevant docs in /docs/developers/environment-variables.md
  • MCP Pattern & Docs:
  • components/nodes/tools/MCP/README.md & refactored server node files

📣 Upgrade/Care Notes

  • Add required AAI_DEFAULT_* env vars to your deployment to unlock zero-configuration UX for all supported model/tool providers.
  • Downstream consumers using imports or canvas/marketplace flows must complete the new unified credential assignment flow (can skip for advanced debugging).
  • If customizing Document Store configs, always provide embeddings, vector store, and record manager together for consistency.
  • Review MCP node usage if building/adding your own—follow the boilerplate and documentation provided.

bradtaylorsf and others added 24 commits June 30, 2025 13:50
…QAChain, LLMChain, and AddNodes to staging versions
- Add 11 new AAI-branded nodes that use hardcoded AAI_DEFAULT_* environment variables
- Chat Models: AAIChatOpenAI, AAIChatAnthropic, AAIChatGoogleGenerativeAI, AAIGroq, AAIDeepseek, AAIAWSChatBedrock
- Agents: AAIAssistant, AAIToolAgent
- Chains: AAIConversationChain, AAIConversationalRetrievalQAChain, AAILLMChain
- All nodes tagged with 'AAI' for Answer tab filtering
- Enhanced descriptions with 'Zero configuration required' messaging
- No credential dropdowns required - uses platform-managed credentials
- Remove AAI tags from original nodes to avoid duplication in Answer tab
- Add fallback AAI_DEFAULT_* credentials for backward compatibility
- Maintain existing credential system for user-managed credentials
- Update ChatOpenAI, ChatAnthropic, ChatGoogleGenerativeAI, Groq, Deepseek, AWSChatBedrock
- Update OpenAIAssistant, ToolAgent, ConversationChain, ConversationalRetrievalQAChain, LLMChain
- Preserve AAI tags on Calculator, WebBrowser, BufferMemory, File (no credential inputs required)
- Add 4-tab system: Answer, LangChain, LlamaIndex, Utilities & Tools
- Answer tab shows only AAI-tagged nodes (zero-config components)
- LangChain tab shows traditional nodes requiring manual credentials
- LlamaIndex tab for LlamaIndex-specific components
- Utilities & Tools tab for general utilities
- Add visual icons for each tab with polished styling
- Implement tag-based filtering logic for automatic node categorization
- Maintain backward compatibility with existing search functionality
…AAIConversationChain implementation - update AutoGPT and ToolAgent nodes - fix Groq chatmodel configurations - improve MCP core functionality - add comprehensive environment variables documentation
…anization

- Add 9 AAI-branded nodes with zero configuration
- Implement tabbed node organization system
- Update chat model defaults
- Remove AAIAssistant node (moved to separate issue)
- Add comprehensive environment variable support
- Maintain backward compatibility
…ation

   feat: implement AAI-branded node system with tabbed organization
Refactor and Restructure Left Navigation Menu in AppDrawer
Enhance Credential Management in Market Place
@vercel

vercel Bot commented Jul 9, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
answerai-docs ✅ Ready (Inspect) Visit Preview Jul 9, 2025 4:33pm
the-answerai 🔄 Building (Inspect) Visit Preview Jul 9, 2025 4:33pm

@bradtaylorsf bradtaylorsf changed the title Staging Production Release - 2025-07-09 Jul 9, 2025
@bradtaylorsf
bradtaylorsf self-requested a review July 9, 2025 16:42
@ct3685 ct3685 added bug Something isn't working minor-update labels Jul 9, 2025

@bradtaylorsf bradtaylorsf left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LFG!

@ct3685
ct3685 merged commit c893f20 into production Jul 9, 2025
6 of 7 checks passed
@maxtechera
maxtechera temporarily deployed to staging - theanswer-iek0 July 9, 2025 16:42 — with Render Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working minor-update ui ux

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants