Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
better streaming plus gif
Matt Williamse4f59ba073ee
diff --git a/examples/python-loganalysis/loganalysis.py b/examples/python-loganalysis/loganalysis.pyindex ed1f173aa..0b7ee5fef 100644--- a/examples/python-loganalysis/loganalysis.py+++ b/examples/python-loganalysis/loganalysis.py@@ -41,7 +41,7 @@ for line in response.iter_lines():if line:json_data = json.loads(line)if json_data['done'] == False:- print(json_data['response'], end='')+ print(json_data['response'], end='', flush=True)diff --git a/examples/python-loganalysis/readme.md b/examples/python-loganalysis/readme.mdindex cba229931..58180444d 100644--- a/examples/python-loganalysis/readme.md+++ b/examples/python-loganalysis/readme.md@@ -1,5 +1,7 @@# Log Analysis example++This example shows one possible way to create a log file analyzer. To use it, run:`python loganalysis.py <logfile>`