mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
[PR #962] [MERGED] feat(openai): Add o4 model support for token counting #1642
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-official-plugins/pull/962
Author: @fengjiajie
Created: 5/23/2025
Status: ✅ Merged
Merged: 5/23/2025
Merged by: @crazywoola
Base:
main← Head:add_o4_token_counting📝 Commits (1)
1fcfbb7feat(openai): Add o4 model support for token counting📊 Changes
2 files changed (+4 additions, -4 deletions)
View changed files
📝
models/openai/manifest.yaml(+1 -1)📝
models/openai/models/llm/llm.py(+3 -3)📄 Description
Related Issues or Context
Add o4 model support for token counting
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.