Skip to content
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

Merged

Conversation

raphaelchristi
Copy link
Contributor

@raphaelchristi raphaelchristi commented Jan 29, 2025

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.

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. enhancement New feature or request labels Jan 29, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Jan 29, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 7, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 10, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 10, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 10, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 10, 2025
Copy link
Collaborator

@edwinjosechittilappilly edwinjosechittilappilly left a 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.

@github-actions github-actions bot added the enhancement New feature or request label Feb 14, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 14, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 18, 2025
@edwinjosechittilappilly
Copy link
Collaborator

Added Combobox to models.

Copy link
Collaborator

@edwinjosechittilappilly edwinjosechittilappilly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Feb 18, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 18, 2025
Copy link
Collaborator

@edwinjosechittilappilly edwinjosechittilappilly left a 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.

@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 19, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 19, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Feb 19, 2025
@ogabrielluiz ogabrielluiz added this pull request to the merge queue Feb 19, 2025
Merged via the queue into langflow-ai:main with commit e970cdb Feb 19, 2025
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants