mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
Revert "refactor(codex): remove unused service_tier handling"
This reverts commit 9c083bc3a75da96983a26ab26bc18d365e25e6b1.
This commit is contained in:
parent
a55a0d517d
commit
cbd5b2834c
1 changed files with 5 additions and 1 deletions
|
|
@ -16,6 +16,7 @@ import { t } from "i18next"
|
|||
import {
|
||||
type ModelInfo,
|
||||
type ReasoningEffortWithMinimal,
|
||||
type ServiceTier,
|
||||
type VerbosityLevel,
|
||||
openAiNativeCodexDefaultModelId,
|
||||
openAiNativeCodexModels,
|
||||
|
|
@ -451,7 +452,10 @@ export class OpenAiNativeCodexHandler extends BaseProvider {
|
|||
}
|
||||
try {
|
||||
const parsed = JSON.parse(data)
|
||||
// service_tier ignored (not used)
|
||||
// Persist tier when available (parity with openai-native)
|
||||
if (parsed.response?.service_tier) {
|
||||
;(this as any).lastServiceTier = parsed.response.service_tier as ServiceTier
|
||||
}
|
||||
// Minimal content extraction similar to OpenAI Responses
|
||||
if (parsed?.type === "response.text.delta" && parsed?.delta) {
|
||||
hasContent = true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue