Chainlit / chainlit

Build Conversational AI in minutes ⚡️
https://docs.chainlit.io
Apache License 2.0
7k stars 923 forks source link

@chainlit/react-client is outdated on npmjs.com #1308

Open haskinsjg opened 1 month ago

haskinsjg commented 1 month ago

The most recent version of the package on npm appears to be 0.1.2. There are several new features that are not supported by that version of the react client (Chain of thought display config, display name) so attempting to build a custom frontend with those features and the client package from npm causes errors due to missing properties (eg error TS2339: Property 'cot' does not exist on type '{ name: string; description?: string | undefined; default_collapse_content?: boolean | undefined; github?: string | undefined; theme: any; custom_css?: string | undefined; custom_js?: string | undefined; custom_font?: string | undefined; custom_meta_image_url?: string | undefined; }'.

It appears that the version of the client has been incremented to 0.1.3 with a recent Chainlit release. Would it be possible to get the most recent version of the react client published to npm? I would prefer to just use the package in my project instead of having to built it myself.

dokterbob commented 1 month ago

@willydouhard Happy to facilitate the publication if you tell me how and/or give access.

pfecht commented 4 weeks ago

Same here. Could you please release the latest react client @willydouhard ?

jbeckerdm commented 4 weeks ago

This has been a huge issue on our end. We'd love to stay up to date with the awesome new chainlit features, but when we update the chainlit version, we often run into this issue that the frontend has an outdated react-client package and we have to wait (potentially) weeks before we can even proceed to implement the update.

This would be solved with a simple release pipeline or Github Action that publishes react-client version bumps to npm as soon as they're on the main branch. Is there any reason you're doing this manually?