File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ export async function serializeNewMessagesInStep<TOOLS extends ToolSet>(
188188 const assistantContent = hasToolResults
189189 ? step . content . slice ( 0 , toolResultIndex )
190190 : step . content ;
191- const { content, fileIds } = await serializeLanguageModelV2Content (
191+ const { content, fileIds } = await serializeStepContent (
192192 ctx ,
193193 component ,
194194 assistantContent ,
@@ -221,7 +221,7 @@ export async function serializeNewMessagesInStep<TOOLS extends ToolSet>(
221221
222222 if ( hasToolResults ) {
223223 const toolContent = step . content . slice ( toolResultIndex ) ;
224- const { content, fileIds } = await serializeLanguageModelV2Content (
224+ const { content, fileIds } = await serializeStepContent (
225225 ctx ,
226226 component ,
227227 toolContent ,
@@ -282,7 +282,7 @@ function getMimeOrMediaType(part: { mediaType?: string; mimeType?: string }) {
282282 return undefined ;
283283}
284284
285- export async function serializeLanguageModelV2Content (
285+ export async function serializeStepContent (
286286 ctx : ActionCtx ,
287287 component : AgentComponent ,
288288 content : StepResult < ToolSet > [ "content" ] ,
You can’t perform that action at this time.
0 commit comments