[PR #962] [MERGED] feat(openai): Add o4 model support for token counting #1642

Closed
opened 2026-02-16 10:23:34 -05:00 by yindo · 0 comments
Owner

📋 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: mainHead: add_o4_token_counting


📝 Commits (1)

  • 1fcfbb7 feat(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.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-official-plugins/pull/962 **Author:** [@fengjiajie](https://github.com/fengjiajie) **Created:** 5/23/2025 **Status:** ✅ Merged **Merged:** 5/23/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `add_o4_token_counting` --- ### 📝 Commits (1) - [`1fcfbb7`](https://github.com/langgenius/dify-official-plugins/commit/1fcfbb7cd0ce16deb488715f80ad20491e75295a) feat(openai): Add o4 model support for token counting ### 📊 Changes **2 files changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `models/openai/manifest.yaml` (+1 -1) 📝 `models/openai/models/llm/llm.py` (+3 -3) </details> ### 📄 Description ## Related Issues or Context Add o4 model support for token counting --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 10:23:34 -05:00
yindo closed this issue 2026-02-16 10:23:34 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#1642