-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add xAI integration #6012
feat: add xAI integration #6012
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few quick changes:
use MessageTextInput instead of StrInput
Also use variable name in Inputs: base_url
instead of api_base
.
To make it consistent for future changes.
Thanks for the PR.
Added Combobox to models. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update tests ensure they pass.
This pull request adds xAI (Grok) model integration to Langflow. The component supports dynamic model fetching from the xAI API, handles both chat and completion requests, and includes proper error handling. Built on the existing langchain-openai package with no additional dependencies required.