Reduce unnecessary model parameter warnings when switching models

Open
#47,062 0 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

@hjlarry is already working on this.

Since Nov 24, 2026.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Domain
ai

Research direction

The issue reports a spurious temperature (unsupported) warning when switching an LLM node from gpt-5 to gpt-6-sol with the setting untouched. Before starting, read the linked open pull request #47066, since work is already under way there. The payload names no file, so locate where the model-switch warning is generated and find the condition that treats an unset, unsupported parameter as removed. Done means switching models with untouched settings produces no warning, and a value the user actually set still warns.

Written by the indexing model from the issue text.

Description

💪 enhancement
Self Checks
  • I have read the Contributing Guide and Language Policy.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • Please do not modify this template :) and fill in all the required fields.
1. Is this request related to a challenge you're experiencing? Tell me about your story.

When the workspace default is gpt-5, I can add an LLM node, leave its settings untouched, and switch to gpt-6-sol. The switch succeeds, but Dify warns that temperature (unsupported) was removed. Neither model exposes Temperature in its settings, so the warning suggests a configuration problem even though there was no setting to carry over.

Warning about the untouched temperature setting

2. Additional context or comments
3. Can you help us with this feature?
  • I am interested in contributing to this feature.
Dominant language
Python
Stars
162k
Forks
25.6k
Avg merge
15h 9m
Merged PRs (30d)
606

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from langgenius/dify

All issues in langgenius/dify

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.