Increase Claude API timeout from 120s to 300s for image analysis
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
93a2738ae1
commit
d8a308a03e
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@
|
||||||
<cfset arrayAppend(requestBody["messages"], userMessage)>
|
<cfset arrayAppend(requestBody["messages"], userMessage)>
|
||||||
|
|
||||||
<!--- Call Claude API for this image --->
|
<!--- Call Claude API for this image --->
|
||||||
<cfhttp url="https://api.anthropic.com/v1/messages" method="POST" timeout="120" result="httpResult">
|
<cfhttp url="https://api.anthropic.com/v1/messages" method="POST" timeout="300" result="httpResult">
|
||||||
<cfhttpparam type="header" name="Content-Type" value="application/json">
|
<cfhttpparam type="header" name="Content-Type" value="application/json">
|
||||||
<cfhttpparam type="header" name="x-api-key" value="#CLAUDE_API_KEY#">
|
<cfhttpparam type="header" name="x-api-key" value="#CLAUDE_API_KEY#">
|
||||||
<cfhttpparam type="header" name="anthropic-version" value="2023-06-01">
|
<cfhttpparam type="header" name="anthropic-version" value="2023-06-01">
|
||||||
|
|
|
||||||
Reference in a new issue