langroid 0.37.6__py3-none-any.whl → 0.37.7__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.
- langroid/language_models/openai_gpt.py +1 -1
- {langroid-0.37.6.dist-info → langroid-0.37.7.dist-info}/METADATA +1 -1
- {langroid-0.37.6.dist-info → langroid-0.37.7.dist-info}/RECORD +5 -5
- {langroid-0.37.6.dist-info → langroid-0.37.7.dist-info}/WHEEL +0 -0
- {langroid-0.37.6.dist-info → langroid-0.37.7.dist-info}/licenses/LICENSE +0 -0
@@ -1910,7 +1910,7 @@ class OpenAIGPT(LanguageModel):
|
|
1910
1910
|
message = {}
|
1911
1911
|
msg = message.get("content", "")
|
1912
1912
|
reasoning = message.get("reasoning_content", "")
|
1913
|
-
if reasoning == "":
|
1913
|
+
if reasoning == "" and msg is not None:
|
1914
1914
|
# some LLM APIs may not return a separate reasoning field,
|
1915
1915
|
# and the reasoning may be included in the message content
|
1916
1916
|
# within delimiters like <think> ... </think>
|
@@ -69,7 +69,7 @@ langroid/language_models/azure_openai.py,sha256=zNQzzsERxNestq-hFfQZbvTzK43G2vjR
|
|
69
69
|
langroid/language_models/base.py,sha256=qxPcY-zBoP9xXVtytg4kfjTKLU9QOZLLAfDa_6skE94,24921
|
70
70
|
langroid/language_models/config.py,sha256=9Q8wk5a7RQr8LGMT_0WkpjY8S4ywK06SalVRjXlfCiI,378
|
71
71
|
langroid/language_models/mock_lm.py,sha256=5BgHKDVRWFbUwDT_PFgTZXz9-k8wJSA2e3PZmyDgQ1k,4022
|
72
|
-
langroid/language_models/openai_gpt.py,sha256=
|
72
|
+
langroid/language_models/openai_gpt.py,sha256=yzkv9AFNL1iKdIQitB9mUqLjVwNREt8RWPEwVTwxDTk,80306
|
73
73
|
langroid/language_models/utils.py,sha256=L4_CbihDMTGcsg0TOG1Yd5JFEto46--h7CX_14m89sQ,5016
|
74
74
|
langroid/language_models/prompt_formatter/__init__.py,sha256=2-5cdE24XoFDhifOLl8yiscohil1ogbP1ECkYdBlBsk,372
|
75
75
|
langroid/language_models/prompt_formatter/base.py,sha256=eDS1sgRNZVnoajwV_ZIha6cba5Dt8xjgzdRbPITwx3Q,1221
|
@@ -123,7 +123,7 @@ langroid/vector_store/meilisearch.py,sha256=6frB7GFWeWmeKzRfLZIvzRjllniZ1cYj3Hmh
|
|
123
123
|
langroid/vector_store/momento.py,sha256=xOaU7Hlyyn_5ihb0ARS5JHtmrKrTCt2IdRA-ioMM5ek,10307
|
124
124
|
langroid/vector_store/qdrantdb.py,sha256=v7TAsIoj_vxeKDYS9tpwJLBZA8fuTweTYxHo0X_uawM,17949
|
125
125
|
langroid/vector_store/weaviatedb.py,sha256=FOzgvqLqvdN5jJebVtJ-8tu2CeBzBfSP3ih4_ODEOOw,10605
|
126
|
-
langroid-0.37.
|
127
|
-
langroid-0.37.
|
128
|
-
langroid-0.37.
|
129
|
-
langroid-0.37.
|
126
|
+
langroid-0.37.7.dist-info/METADATA,sha256=iaVoVKbhBTjGSt00U8RQAKJ1LRfLaUcGDQrrCvkIvAA,60524
|
127
|
+
langroid-0.37.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
128
|
+
langroid-0.37.7.dist-info/licenses/LICENSE,sha256=EgVbvA6VSYgUlvC3RvPKehSg7MFaxWDsFuzLOsPPfJg,1065
|
129
|
+
langroid-0.37.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|