Create Chat#

Creates a chat for the agent scenario and links it to the assistant.

AssistantGuid*[Text] Required GUID of the assistant. System prompt, temperature, MCP settings, and agent token are taken from the assistant.
Title[Text] Optional chat title.
ModelGuid[Text] Optional model GUID; if not specified, the assistant's model is used.
Metadata[Object | dictionary] Arbitrary JSON metadata for the chat.
Info[Object | dictionary] Arbitrary service JSON information for the chat.
UseRerankChat rerank setting. If an assistant is present, the final flag is computed by the server.
Timeout[Number] HTTP request timeout in seconds; default value is 60.
ThreadComplete object of the created chat.
ThreadGuid[Text] GUID of the created chat.
Error Handling Level

Select the error handling level.

Possible values:

  • "Default" - default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Select the message level that blocks will output during operation.

Possible values:

  • "Default" - default;
  • "Release" - output is disabled;
  • "Debug" - main information output;
  • "Detailed" - detailed information output.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.