appendInstructions

Appends instructions to the system instruction.

Note: Model API requires system_instruction to be a string. Non-text parts in Content are processed with references in system_instruction and added as user contents.

Behavior:

  • types.Content: extracts text parts with references to non-text parts, adds non-text parts as user contents

Parameters

instructions

The instructions to append.