GPT128密钥支持 #676

Closed
opened 2026-02-21 17:27:59 -05:00 by yindo · 1 comment
Owner

Originally created by @lilinrestart on GitHub (Nov 9, 2023).

Originally assigned to: @takatost on GitHub.

Description of the new feature / enhancement

使用GPT的128k密钥

Scenario when this would be used?

当有常长上下文的prompt的时候

Supporting information

img_v3_0251_7a31d13e-ca54-44d0-81fd-a7e1eae605ag

Originally created by @lilinrestart on GitHub (Nov 9, 2023). Originally assigned to: @takatost on GitHub. ### Description of the new feature / enhancement 使用GPT的128k密钥 ### Scenario when this would be used? 当有常长上下文的prompt的时候 ### Supporting information ![img_v3_0251_7a31d13e-ca54-44d0-81fd-a7e1eae605ag](https://github.com/langgenius/dify/assets/140720825/41085beb-5d34-4b66-af27-fe278f934994)
yindo added the 💪 enhancement label 2026-02-21 17:27:59 -05:00
yindo closed this issue 2026-02-21 17:27:59 -05:00
Author
Owner

@crazywoola commented on GitHub (Nov 10, 2023):

The maximum token limit can only be set to 4096 or less. This needs to be optimized in the future as there is currently an inconsistency between the context length and max_tokens settings.

@crazywoola commented on GitHub (Nov 10, 2023): The maximum token limit can only be set to 4096 or less. This needs to be optimized in the future as there is currently an inconsistency between the context length and max_tokens settings.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#676