acnagle commited on
Commit
f5c5a4f
·
verified ·
1 Parent(s): 15be80d

Upload client.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. client.py +1 -1
client.py CHANGED
@@ -100,7 +100,7 @@ def stream_response(
100
  continue
101
  delta = chunk.choices[0].delta
102
 
103
- reasoning = getattr(delta, "reasoning_content", None)
104
  if reasoning:
105
  if not in_thinking:
106
  sys.stdout.write(f"\n{DIM}Thinking...\n")
 
100
  continue
101
  delta = chunk.choices[0].delta
102
 
103
+ reasoning = getattr(delta, "reasoning", None)
104
  if reasoning:
105
  if not in_thinking:
106
  sys.stdout.write(f"\n{DIM}Thinking...\n")