Skip to content

feat: track and log accumulated completion cost in LiteLLMAPIBackend#727

Merged
you-n-g merged 5 commits intomainfrom
add_cost_stat
Mar 28, 2025
Merged

feat: track and log accumulated completion cost in LiteLLMAPIBackend#727
you-n-g merged 5 commits intomainfrom
add_cost_stat

Conversation

@you-n-g
Copy link
Contributor

@you-n-g you-n-g commented Mar 27, 2025

Description

Motivation and Context

How Has This Been Tested?

  • If you are adding a new feature, test on your own test scripts.

Screenshots of Test Results (if appropriate):

  1. Your own tests:

Types of changes

  • Fix bugs
  • Add new feature
  • Update documentation

📚 Documentation preview 📚: https://RDAgent--727.org.readthedocs.build/en/727/

@you-n-g you-n-g merged commit b294a95 into main Mar 28, 2025
8 checks passed
@you-n-g you-n-g deleted the add_cost_stat branch March 28, 2025 04:24
Jensen246 pushed a commit to Jensen246/RD-Agent that referenced this pull request Jun 6, 2025
…icrosoft#727)

* feat: Track and log accumulated completion cost in LiteLLMAPIBackend

* refactor: Use variable for retry count and update import formatting

* lint

* fix: Allow chat_max_tokens to be None in LLMSettings

* feat: Add logging for LiteLLM settings and finish reason in cost calculation
licong01-cloud pushed a commit to licong01-cloud/RD-Agent that referenced this pull request Dec 13, 2025
…icrosoft#727)

* feat: Track and log accumulated completion cost in LiteLLMAPIBackend

* refactor: Use variable for retry count and update import formatting

* lint

* fix: Allow chat_max_tokens to be None in LLMSettings

* feat: Add logging for LiteLLM settings and finish reason in cost calculation
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.

1 participant