Skip to content

fix: skip invalid model cost rows - #1461

Open
dajiaohuang wants to merge 1 commit into
AgentOps-AI:mainfrom
dajiaohuang:fix/skip-invalid-cost-rows-1460
Open

dajiaohuang wants to merge 1 commit into
AgentOps-AI:mainfrom
dajiaohuang:fix/skip-invalid-cost-rows-1460

Conversation

@dajiaohuang

Copy link
Copy Markdown

Fixes #1460. Continue after logging a model-price validation error so invalid rows are skipped rather than aborting or duplicating the previous row. Adds a regression test with invalid rows before and after a valid row. Validation: focused regression passed; module 10 passed with 2 integration tests unavailable because tokencost is not installed; implementation Ruff and git diff --check passed.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Invalid cost rows still abort collector config generation

1 participant