Last active
October 14, 2023 23:49
-
-
Save JIBSIL/955f94131ecccba0bde95e032e303c5d to your computer and use it in GitHub Desktop.
g4f compatibility patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- __init__.py 2023-10-15 01:34:31.374313986 +0200 | |
+++ patched.py 2023-10-15 01:35:38.045133112 +0200 | |
@@ -47,9 +47,9 @@ | |
} | |
], | |
"usage": { | |
- "prompt_tokens": None, | |
- "completion_tokens": None, | |
- "total_tokens": None, | |
+ "prompt_tokens": 1, | |
+ "completion_tokens": 1, | |
+ "total_tokens": 1, | |
}, | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment