langflow-ai / langflow-embedded-chat

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

add support for api_key prop in ChatWidget and Chat #3

Closed anovazzi1 closed 1 year ago

anovazzi1 commented 1 year 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 1 year 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.