aws-samples / aws-genai-llm-chatbot

A modular and comprehensive solution to deploy a Multi-LLM and Multi-RAG powered chatbot (Amazon Bedrock, Anthropic, HuggingFace, OpenAI, Meta, AI21, Cohere, Mistral) using AWS CDK on AWS
https://aws-samples.github.io/aws-genai-llm-chatbot/
MIT No Attribution
1.11k stars 332 forks source link

bug: Fix unnecessary calls (Chat-input-panel) #565

Closed charles-marion closed 2 months ago

charles-marion commented 2 months ago

Issue #, if available:

Description of changes: The useEffect fetching the models & workspace is called multiple times. It should be running once.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.