From a33837d33f479fa008326438e898fec57edbd966 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 7 Jul 2026 16:12:49 +0800 Subject: [PATCH] =?UTF-8?q?revert:=20=E7=A7=BB=E9=99=A4between=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E6=A3=80=E6=B5=8B=EF=BC=8C=E6=94=B9=E4=B8=BA=E5=9C=A8?= =?UTF-8?q?=E5=AE=9A=E4=BB=B7=E6=95=B0=E6=8D=AEfields=E4=B8=AD=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0prompt=5Ftokens/completion=5Ftokens=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pricing/pricing.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pricing/pricing.py b/pricing/pricing.py index c54fad2..fa649ef 100644 --- a/pricing/pricing.py +++ b/pricing/pricing.py @@ -640,10 +640,7 @@ order by b.enabled_date desc""" continue f = d.fields.get(fk) if not f: - if isinstance(fv, str) and any(op in fv for op in ('~=', '=~', '~', '=~=')): - f = DictObject(type='float', value_mode='between') - else: - continue + continue data_value = config_data.get(fk) data_value = data_mapping(d, fk, data_value) if data_value is None: @@ -690,10 +687,7 @@ order by b.enabled_date desc""" continue f = d.fields.get(fk) if not f: - if isinstance(fv, str) and any(op in fv for op in ('~=', '=~', '~', '=~=')): - f = DictObject(type='float', value_mode='between') - else: - continue + continue data_value = config_data.get(fk) data_value = data_mapping(d, fk, data_value) if data_value is None: