updateInstructions method

Future<Assistant> updateInstructions(
  1. String assistantId,
  2. String newInstructions
)

Update assistant instructions

Implementation

Future<Assistant> updateInstructions(
  String assistantId,
  String newInstructions,
) async {
  final modifyRequest = ModifyAssistantRequest(
    instructions: newInstructions,
  );

  return await modifyAssistant(assistantId, modifyRequest);
}