xxrickyxx commited on
Commit
3225f91
·
verified ·
1 Parent(s): bcd33b5

Stop the engine when the client disconnects

Browse files
Files changed (1) hide show
  1. README.md +6 -0
README.md CHANGED
@@ -139,6 +139,12 @@ Tested with Cline and Continue. Reasoning models keep their chain of thought in
139
  `thinking` / `reasoning_content`, separate from the answer, so it never
140
  contaminates generated code.
141
 
 
 
 
 
 
 
142
  **Reads the hardware instead of guessing it.** CPU instruction sets come from
143
  `IsProcessorFeaturePresent` / `/proc/cpuinfo` / `sysctl`, so an i9-13900K is
144
  correctly reported as AVX2 rather than AVX-512. GPU VRAM comes from the driver
 
139
  `thinking` / `reasoning_content`, separate from the answer, so it never
140
  contaminates generated code.
141
 
142
+ Cancelling a request stops the engine: a disconnected client whose generation
143
+ keeps running would hold the GPU for minutes producing tokens nobody reads.
144
+ Whatever base URL you configure works — `.../v1`, `.../api` or the bare host —
145
+ because providers append `/api/chat` to whatever you typed and the duplicated
146
+ prefix is normalised instead of returning an HTML 404 into the IDE.
147
+
148
  **Reads the hardware instead of guessing it.** CPU instruction sets come from
149
  `IsProcessorFeaturePresent` / `/proc/cpuinfo` / `sysctl`, so an i9-13900K is
150
  correctly reported as AVX2 rather than AVX-512. GPU VRAM comes from the driver