autoinfra-ai / lingtual-embedded-chat

easy embedded chat widget
https://ligtual.com
3 stars 3 forks source link

api key #6

Closed bhaktatejas922 closed 9 months ago

bhaktatejas922 commented 9 months ago

Summary by CodeRabbit

coderabbitai[bot] commented 9 months ago

Walkthrough

This pull request introduces updates to the lingtual-chat component in the HTML file and a minor syntax adjustment in the TypeScript controller. The chat component now has new attributes and values, including an API key for authentication. The TypeScript change is purely cosmetic and doesn't affect functionality.

Changes

File Summary
public/index.html Updated lingtual-chat component with new attributes and values, including window_title, flow_id, api_key, chat_input_field, and chat_inputs.
src/controllers/.../index.ts Adjusted syntax in sendMessage function signature by adding a space between parameter api_key and its type annotation.

🐇💻

In the land of code, where the semicolons grow,

Changes were made, as the diffs show.

A chat component updated, with attributes anew,

And a TypeScript tweak, just a space or two.

So let's celebrate these changes, small and grand,

Crafted carefully by a coder's hand. 🎉🥕

Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - Mention `@coderabbitai` in any *review comment* for bot assistance. - Note: Review comments are made on code diffs or files, not on the PR overview. ### Pause Incremental Reviews - Insert `@coderabbitai: ignore` in the PR description to halt the bot's ongoing reviews. Remove the line to resume. - Additionally, enter `@coderabbitai pause` to halt the bot's ongoing reviews as any issue or review comment. To resume reviews, enter `@coderabbitai resume` as any issue or review comment.