bibibi12345 commited on
Commit
48c8917
·
1 Parent(s): 60833a7

openai mode thinking

Browse files
Files changed (1) hide show
  1. app/openai_handler.py +3 -1
app/openai_handler.py CHANGED
@@ -70,7 +70,9 @@ class OpenAIDirectHandler:
70
  "extra_body": {
71
  'google': {
72
  'safety_settings': self.safety_settings,
73
- 'thought_tag_marker': VERTEX_REASONING_TAG
 
 
74
  }
75
  }
76
  }
 
70
  "extra_body": {
71
  'google': {
72
  'safety_settings': self.safety_settings,
73
+ 'thought_tag_marker': VERTEX_REASONING_TAG,
74
+ 'thinking_config ': {"include_thoughts": True}
75
+
76
  }
77
  }
78
  }