mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #912] [MERGED] feat(xAI 0.0.5): Update xAI model validation logic, support dynamic m… #1621
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-official-plugins/pull/912
Author: @ghost
Created: 5/14/2025
Status: ✅ Merged
Merged: 5/20/2025
Merged by: @crazywoola
Base:
main← Head:main📝 Commits (1)
6bdc125feat(xAI 0.0.5): Update xAI model validation logic, support dynamic model name selection for API validation📊 Changes
3 files changed (+58 additions, -24 deletions)
View changed files
📝
models/x/manifest.yaml(+1 -1)📝
models/x/provider/x.py(+2 -1)📝
models/x/provider/x.yaml(+55 -22)📄 Description
…odel name selection for API validation
Fix https://github.com/langgenius/dify/issues/19860
Related Issues or Context
Update xAI model validation logic to support dynamic model name selection for API validation. Currently, newly created xAI accounts don't have the grok-beta model, leading to invalid validation and inability to configure the plugin.
This PR contains Changes to Non-Plugin
This PR contains Changes to Non-LLM Models Plugin
This PR contains Changes to LLM Models Plugin
Version Control (Any Changes to the Plugin Will Require Bumping the Version)
VersionField, Not in Meta Section)Dify Plugin SDK Version
dify_plugin>=0.2.0,<0.3.0in requirements.txt (SDK docs)Environment Verification (If Any Code Changes)
Local Deployment Environment
SaaS Environment
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.