| add chapter4 & fix some bug | 1 年前 |
| fix: remove redundant chunk appending for llm_client.think | 11 个月前 |
| fix chatper4 react code | 7 个月前 |
| Remove code block formatting from feedback section | 10 个月前 |
| fix(chapter4): skip empty choices chunks in streaming response Some OpenAI-compatible APIs (e.g. AIHubMix) append a final tail packet with choices=[] containing only usage statistics. Accessing chunk.choices[0] on this packet raises IndexError, which is caught by the outer try/except and returns None — silently discarding all previously streamed content. Adding if not chunk.choices: continue skips these packets while preserving the full response. Fixes #522 | 5 个月前 |
| update code of chapter2&3 and improve chapter4 | 1 年前 |