Skip to content

Commit 8126c56

Browse files
committed
[ISSUE #8458] Drop the unused input-tokens constant
The token limiter accounts output tokens only, and the usage tap reads the field families by name, so the shared constant had no reader.
1 parent 1be5f1a commit 8126c56

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

  • shenyu-common/src/main/java/org/apache/shenyu/common/constant

‎shenyu-common/src/main/java/org/apache/shenyu/common/constant/Constants.java‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,11 +1113,6 @@ public interface Constants {
11131113
*/
11141114
String OUTPUT_TOKENS = "output_tokens";
11151115

1116-
/**
1117-
* The input tokens reported by the Anthropic Messages protocol, the counterpart of COMPLETION_TOKENS.
1118-
*/
1119-
String INPUT_TOKENS = "input_tokens";
1120-
11211116
/**
11221117
* The usage object of the Gemini generateContent protocol.
11231118
*/

0 commit comments

Comments
 (0)