MCPcopy Create free account
hub / github.com/Superflows-AI/superflows / isFunctionMessageTooLong

Function isFunctionMessageTooLong

lib/edge-runtime/utils.ts:352–356  ·  view source on GitHub ↗
(
  message: FunctionMessageInclSummary,
)

Source from the content-addressed store, hash-verified

350export const ApiResponseCutText = `API response cut as it is too large (>20kb).`;
351
352export function isFunctionMessageTooLong(
353 message: FunctionMessageInclSummary,
354): boolean {
355 return message.content.length > 10000;
356}
357
358export function preStreamProcessOutMessage(
359 outMessage: FunctionMessageInclSummary,

Callers 2

systemPromptWithActionsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected