Skip to main content

AI agents: Configuration

Ai.Agent.Tools.TokenUsageThreshold


The recommanded token threshold for a tool response to the LLM.
If the response exceeds this threshold, a notification will be raised.

  • Type: int
  • Default: 10000
  • Scope: Server-wide or per database

Ai.Agent.Trimming.Summarization.SummarizationResultPrefix

The text prefix that precedes the summary of the previous conversation.

  • Type: string
  • Default: "Summary of previous conversation: "
  • Scope: Server-wide or per database

Ai.Agent.Trimming.Summarization.SummarizationTaskBeginningPrompt

The instruction text that precedes the serialized conversation when requesting a summary.

  • Type: string
  • Default: @"Summarize the following AI conversation into a concise, linear narrative that retains all critical information. Ensure the summary:
    • Includes key identifiers, usernames, timestamps, and any reference codes
    • Preserves the original intent of both the user and the assistant in each exchange
    • Reflects decisions made, suggestions given, preferences expressed, and any changes in direction
    • Captures tone when relevant (e.g., sarcastic, formal, humorous, concerned)
    • Omits general filler or small talk unless it contributes to context or tone Format the output in a structured manner (such as bullet points or labeled sections) suitable for fitting into a limited context window. Do not discard any information that contributes to understanding the conversation's flow and outcome."
  • Scope: Server-wide or per database

Ai.Agent.Trimming.Summarization.SummarizationTaskEndPrompt

The user-role message that triggers the conversation summarization process.

  • Type: string
  • Default: "Reminder - go over the entire previous conversation and summarize that according to the original instructions"
  • Scope: Server-wide or per database