UserImageRawFrame: rename add_to_context to append_to_context
This commit is contained in:
@@ -53,7 +53,7 @@ async def fetch_user_image(params: FunctionCallParams):
|
||||
# Request a user image frame and indicate that it should be added to the
|
||||
# context.
|
||||
await params.llm.push_frame(
|
||||
UserImageRequestFrame(user_id=user_id, text=question, add_to_context=True),
|
||||
UserImageRequestFrame(user_id=user_id, text=question, append_to_context=True),
|
||||
FrameDirection.UPSTREAM,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user