Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow customizing token cost calculation #97

Closed
yuzisun opened this issue Jan 14, 2025 · 1 comment · Fixed by #153
Closed

Allow customizing token cost calculation #97

yuzisun opened this issue Jan 14, 2025 · 1 comment · Fixed by #153
Assignees
Milestone

Comments

@yuzisun
Copy link
Contributor

yuzisun commented Jan 14, 2025

When reducing the token usage limit in external proc, we need a way to allow customizing the token cost calculation such as input_tokens*weight + output_tokens

@mathetake
Copy link
Member

ok so the left is CEL implementation left in #103

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 a pull request may close this issue.

2 participants