Skip to content

Commit

Permalink
chore(ai); remove unused debug line
Browse files Browse the repository at this point in the history
  • Loading branch information
oowl authored Dec 2, 2024
1 parent 2cdafdd commit 6b2d84b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions kong/llm/plugin/shared-filters/serialize-analytics.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ function _M:run(conf)
total_tokens = ai_plugin_o11y.metrics_get("llm_total_tokens_count"),
cost = ai_plugin_o11y.metrics_get("llm_usage_cost"),
}

kong.log.inspect(usage)

kong.log.set_serialize_value(string.format("ai.%s.usage", ai_plugin_o11y.NAMESPACE), usage)


Expand All @@ -82,4 +79,4 @@ function _M:run(conf)
return true
end

return _M
return _M

0 comments on commit 6b2d84b

Please sign in to comment.