You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"⚠️ LLM connection failed. This could be due to server issues, network problems, or context length exceeded (e.g., with local LLMs like LM Studio). Original error:",
43
+
"```",
44
+
trimmed||"Unknown error",
45
+
"```",
46
+
].join("\n");
47
+
};
48
+
34
49
exportasyncfunctionrunReplyAgent(params: {
35
50
commandBody: string;
36
51
followupRun: FollowupRun;
@@ -403,19 +418,8 @@ export async function runReplyAgent(params: {
403
418
: payloadArray.flatMap((payload)=>{
404
419
lettext=payload.text;
405
420
406
-
if(payload.isError){
407
-
// Handle Bun fetch socket connection error that may indicate a context length issue
"The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch()";
412
-
413
-
if(isBunFetchSocketError){
414
-
text=`⚠️ LLM connection failed. This could be due to server issues, network problems, or context length exceeded (e.g., with local LLMs like LM Studio). Original error:
0 commit comments