feat: add len variable for tier conditions and LLM prompt helper

This commit is contained in:
CaIon committed 2026-04-25 13:24:20 +08:00
1 parent a7c38ec851
commit f2f3410dcf
15 files changed
+393 -47

No files matched your search

+4 -4
View File
@@ -54,10 +54,10 @@ func SmokeTestExpr(exprStr string) error {
func smokeTestExpr(exprStr string) error {
vectors := []billingexpr.TokenParams{
{P: 0, C: 0},
{P: 1000, C: 1000},
{P: 100000, C: 100000},
{P: 1000000, C: 1000000},
{P: 0, C: 0, Len: 0},
{P: 1000, C: 1000, Len: 1000},
{P: 100000, C: 100000, Len: 100000},
{P: 1000000, C: 1000000, Len: 1000000},
}
requests := []billingexpr.RequestInput{
{},