mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #663] [MERGED] fix: model-ollama add more friendly exception msg when HTTPError #1482
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/663
Author: @StrayDragon
Created: 4/6/2025
Status: ✅ Merged
Merged: 4/10/2025
Merged by: @Yeuoly
Base:
main← Head:l8ng/provider-ollama-friendly-tip📝 Commits (2)
c1741c8fix: model-ollama add more friendly exception msg when HTTPErrore0272c3bump: models-ollama version📊 Changes
2 files changed (+5 additions, -1 deletions)
View changed files
📝
models/ollama/manifest.yaml(+1 -1)📝
models/ollama/models/text_embedding/text_embedding.py(+4 -0)📄 Description
Related Issue or Context
for debugging easily on dify logs and minimize misunderstandings
ref: https://github.com/langgenius/dify-official-plugins/issues/1214
Type of Change
Version Control (if applicable)
Versionfield, not in Meta section)Test Evidence (if applicable)
Screenshots or Video/GIF:
reproduce:
try add embedding model '' shaw/dmeta-embedding-zh to models provider ollama
before:

after:

TODO: maybe need change style on dify/web or limit output length ...
but more details than before, and reduce misunderstandings about the main library to a certain extent.
Environment Verification
Local Deployment Environment
Local Deployment Dify Version:
SaaS Environment
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.