langfun 0.1.2.dev202506020805__py3-none-any.whl → 0.1.2.dev202506040804__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -695,7 +695,8 @@ class Gemini(rest.REST):
695
695
  )
696
696
  if options.max_thinking_tokens is not None:
697
697
  config['thinkingConfig'] = {
698
- 'thinkingBudget': options.max_thinking_tokens
698
+ 'includeThoughts': True,
699
+ 'thinkingBudget': options.max_thinking_tokens,
699
700
  }
700
701
 
701
702
  return config
@@ -173,7 +173,7 @@ class GeminiTest(unittest.TestCase):
173
173
  responseLogprobs=False,
174
174
  logprobs=None,
175
175
  seed=None,
176
- thinkingConfig={'thinkingBudget': 100},
176
+ thinkingConfig={'includeThoughts': True, 'thinkingBudget': 100},
177
177
  ),
178
178
  )
179
179
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langfun
3
- Version: 0.1.2.dev202506020805
3
+ Version: 0.1.2.dev202506040804
4
4
  Summary: Langfun: Language as Functions.
5
5
  Home-page: https://github.com/google/langfun
6
6
  Author: Langfun Authors
@@ -92,8 +92,8 @@ langfun/core/llms/deepseek.py,sha256=jvTxdXPr-vH6HNakn_Ootx1heDg8Fen2FUkUW36bpCs
92
92
  langfun/core/llms/deepseek_test.py,sha256=DvROWPlDuow5E1lfoSkhyGt_ELA19JoQoDsTnRgDtTg,1847
93
93
  langfun/core/llms/fake.py,sha256=xmgCkk9y0I4x0IT32SZ9_OT27aLadXH8PRiYNo5VTd4,3265
94
94
  langfun/core/llms/fake_test.py,sha256=2h13qkwEz_JR0mtUDPxdAhQo7MueXaFSwsD2DIRDW9g,7653
95
- langfun/core/llms/gemini.py,sha256=kAhW6KfGhjk6S6_n915Tqdxr6Xv9Z2BGvTNcWNahP6E,26459
96
- langfun/core/llms/gemini_test.py,sha256=Ve9X2Wvwu9wVFHpKZDP-qoM1_hzB4kgt6_HR9wxtNkg,7592
95
+ langfun/core/llms/gemini.py,sha256=upu5aSGh5x9C_o1WPuhe9n9x7rov52ugjJlmPc7GP-c,26495
96
+ langfun/core/llms/gemini_test.py,sha256=y1s0W65SrdepbZxzgIeoTB2MI7sXnfBDf1NsGn57LbM,7617
97
97
  langfun/core/llms/google_genai.py,sha256=L7cevWaD69xMpo5GtaVP0yEomRwbapKBrUPTClrEuPw,5332
98
98
  langfun/core/llms/google_genai_test.py,sha256=NKNtpebArQ9ZR7Qsnhd2prFIpMjleojy6o6VMXkJ1zY,1502
99
99
  langfun/core/llms/groq.py,sha256=S9V10kFo3cgX89qPgt_umq-SpRnxEDLTt_hJmpERfbo,12066
@@ -156,8 +156,8 @@ langfun/core/templates/demonstration.py,sha256=vCrgYubdZM5Umqcgp8NUVGXgr4P_c-fik
156
156
  langfun/core/templates/demonstration_test.py,sha256=SafcDQ0WgI7pw05EmPI2S4v1t3ABKzup8jReCljHeK4,2162
157
157
  langfun/core/templates/selfplay.py,sha256=yhgrJbiYwq47TgzThmHrDQTF4nDrTI09CWGhuQPNv-s,2273
158
158
  langfun/core/templates/selfplay_test.py,sha256=Ot__1P1M8oJfoTp-M9-PQ6HUXqZKyMwvZ5f7yQ3yfyM,2326
159
- langfun-0.1.2.dev202506020805.dist-info/licenses/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
160
- langfun-0.1.2.dev202506020805.dist-info/METADATA,sha256=RMFReYI-5sy9JBYz6BcyRmpHK2HhweH48bHDD8X0xoc,8178
161
- langfun-0.1.2.dev202506020805.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
162
- langfun-0.1.2.dev202506020805.dist-info/top_level.txt,sha256=RhlEkHxs1qtzmmtWSwYoLVJAc1YrbPtxQ52uh8Z9VvY,8
163
- langfun-0.1.2.dev202506020805.dist-info/RECORD,,
159
+ langfun-0.1.2.dev202506040804.dist-info/licenses/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
160
+ langfun-0.1.2.dev202506040804.dist-info/METADATA,sha256=I7xjYVbp7msjXddm33pXciD-n17mw9wT--Ej69xUJM8,8178
161
+ langfun-0.1.2.dev202506040804.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
162
+ langfun-0.1.2.dev202506040804.dist-info/top_level.txt,sha256=RhlEkHxs1qtzmmtWSwYoLVJAc1YrbPtxQ52uh8Z9VvY,8
163
+ langfun-0.1.2.dev202506040804.dist-info/RECORD,,