v1.0.10: fix cfhttp.statusCode сравнение (200 OK vs 200)

This commit is contained in:
2026-06-18 18:05:14 +04:00
parent 859b369b9f
commit c04b2a2fe3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -91,7 +91,7 @@
<cfhttpparam type="body" value="#serializeJSON(llmPayload)#">
</cfhttp>
<cfif cfhttp.statusCode EQ 200>
<cfif cfhttp.statusCode EQ 200 OR left(cfhttp.statusCode, 3) EQ "200">
<cfset llmResp = deserializeJSON(cfhttp.fileContent)>
<cfset llmText = llmResp.choices[1].message.content>