mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
refactor(codex): remove unused service_tier handling
This commit is contained in:
parent
8661490f2b
commit
a55a0d517d
1 changed files with 1 additions and 5 deletions
|
|
@ -16,7 +16,6 @@ import { t } from "i18next"
|
|||
import {
|
||||
type ModelInfo,
|
||||
type ReasoningEffortWithMinimal,
|
||||
type ServiceTier,
|
||||
type VerbosityLevel,
|
||||
openAiNativeCodexDefaultModelId,
|
||||
openAiNativeCodexModels,
|
||||
|
|
@ -452,10 +451,7 @@ export class OpenAiNativeCodexHandler extends BaseProvider {
|
|||
}
|
||||
try {
|
||||
const parsed = JSON.parse(data)
|
||||
// Persist tier when available (parity with openai-native)
|
||||
if (parsed.response?.service_tier) {
|
||||
;(this as any).lastServiceTier = parsed.response.service_tier as ServiceTier
|
||||
}
|
||||
// service_tier ignored (not used)
|
||||
// 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