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

Model schema not found #433

Open
zhizhuaa opened this issue Jan 10, 2025 · 1 comment
Open

Model schema not found #433

zhizhuaa opened this issue Jan 10, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@zhizhuaa
Copy link

本地化部署的dify的 聊天助手 和 Agent 应用中进行聊天报错如下:
大模型是使用ollama进行部署的
image
但是在工作流中又可以正常使用
image
本地部署的dify版本如下:
image
这是什么原因导致的?

Copy link

dosubot bot commented Jan 10, 2025

The "Model schema not found" error in the chat interface, while the workflow functions correctly, could be due to differences in how the chat interface and workflow handle model configurations. Here are some potential causes and steps to troubleshoot:

  1. Model Registration: Ensure that the model 'glm4' is correctly registered and available for the chat interface. The chat interface and workflow might have different configurations or access to models.

  2. Configuration Differences: Check if there are any configuration differences between the chat interface and the workflow. The chat interface might require additional settings or credentials that are not needed for the workflow.

  3. Model Schema Validation: Verify that the model schema is correctly defined and accessible in the chat interface. The error might indicate that the chat interface cannot find the necessary schema for 'glm4', possibly due to a misconfiguration or missing files.

  4. Provider Credentials: Ensure that the provider credentials are correctly set up and validated for the chat interface. The workflow might be using a different set of credentials or a different validation process.

  5. Docker Configuration: Since you are using Docker, ensure that the network settings and environment variables are correctly configured for both dify-web and dify-api images. The chat interface might be unable to access the model due to network restrictions or incorrect environment settings.

Review these areas to identify any discrepancies or missing configurations that could lead to the error in the chat interface.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@dosubot dosubot bot added the bug Something isn't working label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant