From a54360c3cf0b99ed102a691342f4ca90dc8a316b Mon Sep 17 00:00:00 2001 From: Daniel D'Avella Date: Fri, 12 Apr 2024 11:20:44 -0400 Subject: [PATCH] Add optional token usage field to CodeTF spec --- codetf.schema.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/codetf.schema.json b/codetf.schema.json index 2e89063..84e3e86 100644 --- a/codetf.schema.json +++ b/codetf.schema.json @@ -152,6 +152,10 @@ "type": "array", "items": { "$ref": "#/definitions/change" }, "minItems": 1 + }, + "tokens": { + "type": "integer", + "description": "The number of LLM tokens used to generate this change" } }, "required": ["path", "diff", "changes"]