[PR #8504] fix: llm_generator.py JSONDecodeError #26077

Closed
opened 2026-02-21 20:34:39 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/8504

State: closed
Merged: Yes


Checklist:

Important

Please review the checklist below before submitting your pull request.

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods

Description

Fixes

generate_conversation_name
result_dict = json.loads(cleaned_answer)
JSONDecodeError("Expecting value", s, err.value) from None

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
**Original Pull Request:** https://github.com/langgenius/dify/pull/8504 **State:** closed **Merged:** Yes --- # Checklist: > [!IMPORTANT] > Please review the checklist below before submitting your pull request. - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods # Description Fixes ``` generate_conversation_name result_dict = json.loads(cleaned_answer) JSONDecodeError("Expecting value", s, err.value) from None ``` ## Type of Change - [x] Bug fix (non-breaking change which fixes an issue)
yindo added the pull-request label 2026-02-21 20:34:39 -05:00
yindo closed this issue 2026-02-21 20:34:39 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#26077