nic-6443 commented on code in PR #13984:
URL: https://github.com/apache/apisix/pull/13984#discussion_r4090523983


##########
apisix/plugins/ai-rate-limiting.lua:
##########
@@ -350,6 +352,36 @@ function _M.check_instance_status(conf, ctx, instance_name)
 end
 
 
+-- expose usage leaves by bare name, breadth first so shallower keys win

Review Comment:
   需要支持明确的 `input_tokens_details.cached_tokens` 用法,避免嵌套数据中出现重名字段时的不确定性。



##########
apisix/plugins/ai-rate-limiting.lua:
##########
@@ -350,6 +352,36 @@ function _M.check_instance_status(conf, ctx, instance_name)
 end
 
 
+-- expose usage leaves by bare name, breadth first so shallower keys win

Review Comment:
   需要支持明确的类似 `input_tokens_details.cached_tokens` 用法,避免嵌套数据中出现重名字段时的不确定性。



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to