langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
https://dify.ai
Other
53.37k stars 7.8k forks source link

fix: update the max tokens configuration for Azure GPT-4o (2024-08-06) to 16384 #11074

Closed fengjiajie closed 6 days ago

fengjiajie commented 6 days ago

Summary

According to the description at this link, the output token limit for GPT-4o (2024-08-06) is 16,384. It's possible that the code is still using the earlier version's (2024-05-13) value of 4,096.

Screenshots

image

Checklist

[!IMPORTANT]
Please review the checklist below before submitting your pull request.