Skip to content

Commit 0b56505

Browse files
log
1 parent ccc074c commit 0b56505

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

internal/provider/anthropic/cost.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ func (ce *CostEstimator) EstimatePromptCost(model string, tks int) (float64, err
101101
}
102102

103103
func SelectModel(model string) string {
104+
fmt.Printf("==== Input model: %q\n", model)
104105
if strings.HasPrefix(model, "claude-sonnet-4.6") || strings.HasPrefix(model, "claude-sonnet-4-6") {
105106
return "claude-sonnet-4.6"
106107
}

internal/provider/openai/cost.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,6 +1106,8 @@ func countTotalTokens(model string, r *goopenai.ChatCompletionRequest, tc tokenC
11061106
}
11071107

11081108
var modelWithLengthCtx = []string{
1109+
"gpt-5.5",
1110+
"gpt-5.5-pro",
11091111
"gpt-5.4",
11101112
"gpt-5.4-pro",
11111113
}

0 commit comments

Comments
 (0)