langflow-ai / langflow-embedded-chat

The Langflow Embedded Chat is a powerful web component that enables seamless communication with the Langflow
43 stars 17 forks source link

add support for api_key prop in ChatWidget and Chat #3

Closed anovazzi1 closed 8 months ago

anovazzi1 commented 10 months ago

feat(chatWidget): add support for api_key prop in ChatWidget and ChatWindow components to pass API key to sendMessage function

fix(controllers): modify sendMessage function to include api_key in the request data if provided

feat(index.tsx): add api_key prop to ChatWidget component in custom element definition

raj-wadhwa commented 9 months ago

Hi @anovazzi1

Can you please get this PR reviewed and merge it as soon as possible? This is much needed and the fix is correct.