Skip to content

After upgrading to v1.8.0, Ollama model settings cannot be edited #1615

@gakugaku

Description

@gakugaku

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues Dify issues & Dify Official Plugins, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.8.0

Plugin version

0.0.7

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. Upgrade Dify from v1.7.2 to v1.8.0 (environment contains Ollama models).
  2. In Model Providers → Add Model, choose provider Ollama and select an existing credential (e.g. API_KEY1).
  3. The following error occurs:
    • Credential with id xxxxx not found.
    • The Add model credential form is missing fields: Base URL, Model context size, and Upper bound for max tokens.
    • Because of the missing fields, the model cannot be saved.

Note

  • Ollama models created in v1.7.2 can still run successfully in v1.8.0, but cannot be edited.
  • Newly created Ollama models in v1.8.0 can be edited without any issue.

✔️ Error log

Image

No related logs were recorded during the error in the following containers

  • docker container logs aitool_develop-dify-api-1
  • docker container logs aitool_develop-dify-web-1
  • docker container logs aitool_develop-dify-db-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions