Skip to main content

Advanced environmental variables

Generally no modification.

This page lists the internal behavior of the variable control system (parallel, repeat, overtime, batch size, etc.). ** All the default values are used when not set, and the behavior is completely consistent with the official release. ** Adjust only when the impact is clearly understood; the core deployment variables are seen. Core environmental variables


0 Overview

301 Environmental variables, the sub-system distribution:

The subsystemNumber of variables
LLM Conversation / Arrangement / Internal Model Call65
RAG Document Analysis/Vector Recovery59
Execution of sandbox code9
Built-in tools (Search / Python / Cyber Security)14
Session / Message / Streaming API73
Certification / Session / Verification Code15
Upload / Documentation / Sharing14
Admin console tasks (backup / vector maintenance / redeem code)20
Server Launch / Configuration3
10 The front23
** Total of **295

LLM Conversation / Arrangement / Internal Model Call

Main conversation streams, tool cycles, TFT watch dogs, and internal model calls such as compression/memory/audit/examination/deep research/document generation.

Environmental variablesType ofThe default valueExplained
AIVORY_LLM_APPLY_ANTHROPIC_THINKING_SETTINGSint2048When raising the Anthropic max_tokens, extend the token balance added above the budget_tokens to enable the output to accommodate thought plus response.
AIVORY_LLM_MAX_ITERint20The hard threshold for native tool call rounds (Messages API calls) in the Anthropic Stream cycle.
AIVORY_LLM_MAX_TOKint64000The default max_tokens sent for each Anthropic Messages request in the streaming tool cycle (unless the request itself covers).
AIVORY_LLM_MAX_TOK_2int64000PromptRunOnce is the default max_tokens for a single Anthropic call (unless the request is covered).
AIVORY_LLM_INFLIGHT_GRACEduration15*time.MinuteThe length of time the assistant message line for status=streaming is exempt from being processed in the summary before it is considered a collapse residual.
AIVORY_LLM_Tint4The structural token expenditure added for each message in the compressed token estimate (role tags, outboxes).
AIVORY_LLM_MESSAGE_TOKEN_MEMO_CACHE_BOUNDint100000Each message token estimates the maximum number of entries allowed before memory cache maps are reset to limit memory.
AIVORY_LLM_SUMMARY_TOKENS_CLAMP_FLOORint256Manages the bottom limit of the summary_max_tokens setting; resets the default summary budget when the configuration value is less than that bottom limit.
AIVORY_LLM_BIG_TOKEN_OVERFLOW_NUMint5This round triggers the inbound summary token triggering the threshold multiplier (num/den, 5/4 = 1.25 times by default).
AIVORY_LLM_BIG_TOKEN_OVERFLOW_DENint4This round triggers the inbound summary token trigger the threshold multiplier (num/den, 5/4 = 1.25 times by default).
AIVORY_LLM_INLINE_COMPACTION_BACKLOG_FACTORint3There is no summary of the multiplier of the tail degree relative to keepRounds*2, exceeding which is compulsory in connection (rather than asynchronous) compression.
AIVORY_LLM_SUMMARY_MERGE_BUDGETint2048It triggers the folding of old summary blocks into more rough cumulative summary token thresholds.
AIVORY_LLM_DETERMINISTIC_SUMMARY_CLIP_BUDGETint300When the task model summary returns as empty, the token budget used to cut backward for the older rounds.
AIVORY_LLM_ATTEMPTint4The maximum number of comparisons and exchanges (CAS) repeated attempts when adding a new summary block to the session summary_blocks.
AIVORY_LLM_ITERint3To compress the summary token of a session path back to the maximum number of repeat folding iterations executed within the budget.
AIVORY_LLM_MAX_OUTPUT_TOKENS_5int2It acts as a combination budget to derive fold-called MaxOutputTokens and a certain cut length deduction.
AIVORY_LLM_CHUNK_SIZEint400Re-validate the size of the message ID batch for each SQL IN(...) query when the summary message still exists (used to circumvent the driver positioner upper limit partition).
AIVORY_LLM_DR_MAX_ROUNDSint4The Deep Research engine runs a search re-validation hard limit for the number of rounds.
AIVORY_LLM_DR_QUERIES_PER_ROUNDint6The maximum number of search queries distributed per Deep Research round.
AIVORY_LLM_DR_FETCH_PER_ROUNDint5Each Deep Research round selects and reads the maximum number of new source candidates.
AIVORY_LLM_DR_MIN_DEEP_READSint5Deep Research achieves the minimum number of deep-reading sources to be reached before the end of permission (even if the coverage gap seems sufficient).
AIVORY_LLM_DR_SEARCH_TOP_Kint8The number of results (top_k) for each Deep Research search.
AIVORY_LLM_DR_WALL_CLOCKduration5*time.MinuteLimit the total wall clock overtime running throughout the Deep Research engine.
AIVORY_LLM_DR_CALL_TIMEOUTduration30*time.SecondDeep Research searches or scraps every single call overtime.
AIVORY_LLM_DEEP_RESEARCH_VALIDATE_TIMEOUTduration75*time.SecondLimit Deep Research’s overtime to the validate phase of weak/single-source arguments reviewed before writing.
AIVORY_LLM_SCORE_Afloat9Rankings added to candidate sources with URL credibility rating A (reliability dominates in the ranking).
AIVORY_LLM_SCORE_Bfloat6Added ranking points for candidate sources with URL credibility rating B.
AIVORY_LLM_SCORE_Cfloat3Added ranking points for candidate sources with URL credibility grade C.
AIVORY_LLM_SCORE_KWfloat1The ranking points added by one problem key word (longer than 3) in the candidate source title or summary.
AIVORY_LLM_SCORE_FRESH_DOMAINfloat2Added ranking points for candidate sources of domain names that have not yet been seen in this study.
AIVORY_LLM_MAX_ITER_4int20In the Gemini Stream cycle, there is a hard upper limit for the number of native tool calls (generateContent calls).
AIVORY_LLM_GEMINI_MAX_TOKint64000The default value for generationConfig.maxOutputTokens is requested each time in the Gemini stream cycle (unless the request is covered).
AIVORY_LLM_GEMINI_MAX_TOK_2int64000The default value for generationConfig.maxOutputTokens is called in the Gemini Tipword Tool mode (unless the request is covered).
AIVORY_LLM_CONFfloat0.7When the extractor returns a credibility not within the range (0,1), the extractor returns the credibility assigned to memory.
AIVORY_LLM_OFFICIAL_TOOL_SPECstring"medium"Transfer the search_context_size value to the OpenAI official built-in web_search tool specification.
AIVORY_LLM_MAX_ITER_2int20In the OpenAI streamChat (Chat Completions) cycle, the native tool calls the rounds of the hardness upper limit.
AIVORY_LLM_MAX_ITER_3int20The hardness upper limit of the native tool call rounds in the OpenAI streamResponses (Responses API) cycle.
AIVORY_LLM_INLINE_QUOTE_SOURCE_INJECTION_CAPint8000In the inbound reference sub conversation, the maximum number of characters (rune) in the source message text before the intersection is injected together with the high-bright excerpt.
AIVORY_LLM_SANDBOX_EXEC_TIMEOUT_CLAMP_RANGE_MAXint600When the context counting time for python_execute is called, the administrator-configured sandbox_exec_timeout_sec is limited to the upper limit (sec).
AIVORY_LLM_SANDBOX_EXEC_TIMEOUT_CLAMP_RANGE_MINint10When the context counting time for python_execute is called, the administrator-configured sandbox_exec_timeout_sec is limited to the bottom limit (sec).
AIVORY_LLM_SANDBOX_EXEC_CTX_SAFETY_MARGINduration150*time.SecondWhen counting the context time for python_execute, the additional surplus is added over the sandbox executing overtime, making the context later overtime than the sandbox HTTP client.
AIVORY_LLM_PER_TURN_TOOL_LIMITS_WEB_SEARCHint16The maximum number of web_search calls allowed for each message in the normal mode is exceeded; this means that the call fails.
AIVORY_LLM_PER_TURN_TOOL_LIMITS_WEB_FETCHint12The maximum number of web_fetch calls allowed for each message in the normal mode; exceeding that means that the call fails.
AIVORY_LLM_PER_TURN_TOOL_LIMITS_FETCH_IMAGEint16The maximum number of fetch_image calls allowed for each message in the normal mode; exceeding that means that the call fails.
AIVORY_LLM_PER_TURN_TOOL_LIMITS_IMAGE_GENERATEint8The maximum number of image_generate calls allowed for each message in the normal mode is exceeded; this means that the call fails.
AIVORY_LLM_PER_TURN_TOOL_LIMITS_PYTHON_EXECUTEint16The maximum number of times that a python_execute sandbox can execute for each message is allowed in the normal mode; exceeding that means that the call fails.
AIVORY_LLM_DEEP_RESEARCH_TOOL_LIMITS_WEB_SEARCHint40The maximum number of web_search calls allowed for each message when Deep Research is running is exceeded, which causes the call to fail.
AIVORY_LLM_DEEP_RESEARCH_TOOL_LIMITS_WEB_FETCHint25The maximum number of web_fetch calls allowed for each message when Deep Research is running is exceeded, which causes the call to fail.
AIVORY_LLM_DEEP_RESEARCH_TOOL_LIMITS_FETCH_IMAGEint12The maximum number of fetch_image calls allowed for each message when Deep Research is running is exceeded; this means that the call fails.
AIVORY_LLM_DEEP_RESEARCH_TOOL_LIMITS_IMAGE_GENERATEint4The maximum number of image_generate calls allowed for each message when Deep Research is running is exceeded, which causes the call to fail.
AIVORY_LLM_DEEP_RESEARCH_TOOL_LIMITS_PYTHON_EXECUTEint8The maximum number of times a python_execute sandbox is allowed to execute each message while Deep Research runs; exceeding that means that the call fails.
AIVORY_LLM_MAX_TOOL_CALLS_PER_TURNint48In the ordinary mode, each message calls the total global ceiling of the total number of tools across all tools, overlapping over the separate ceiling of each tool.
AIVORY_LLM_MAX_TOOL_CALLS_PER_TURN_DEEPint150Deep Research runs a global ceiling on the total number of calls for each message across all tools.
AIVORY_LLM_TOOL_TIMEOUTSduration10*time.SecondA single web_search tool calls a time limit for each call.
AIVORY_LLM_TOOL_TIMEOUTS_2duration15*time.SecondA single web_fetch tool calls a time limit for each call.
AIVORY_LLM_TOOL_TIMEOUTS_3duration600*time.SecondThe image_generate tool calls a single time limit for each call (leaving a wider window for delayed third-party image gateways).
AIVORY_LLM_TOOL_TIMEOUT_DEFAULTduration100*time.SecondReturn time for every call used by the tool listed in the toolTimeouts mapping that is not type-configured.
AIVORY_LLM_PROMPT_MAX_ITERint10The maximum number of iterations before the end of the round (each iteration = one model generated plus an optional tool call).
AIVORY_LLM_PROMPT_MAX_RETRYint2Repeat the error format. <tool_call> The maximum number of repeat attempts performed by the JSON or failure tool.
AIVORY_LLM_PROVIDER_REQUEST_BODY_MAX_BYTESint128*1024The maximum length of the captured supplier request body/request head JSON snapshot used for diagnosis is captured.
AIVORY_LLM_PROVIDER_REQUEST_VALUE_MAX_BYTESint8*1024Each individual captured supplier request value (URL, request head value) is the maximum length that is captured.
AIVORY_LLM_IMAGE_DOCUMENT_FLAT_TOKEN_ALLOWANCEint1024Estimate the fixed number of tokens counted for each image/document block when requesting tokens, because base64 cannot be divided by text.
AIVORY_LLM_OUTPUT_RESERVEint2000When calculating the predictive credits affordability estimate, estimate the amount of fixed output token reserves added above the input token.
AIVORY_LLM_MAX_CONCURRENT_TOOLSint4Maximum number of tools executed simultaneously in a single wheel (limiting the signal capacity of the simultaneous executor).
AIVORY_LLM_VCTXduration45*time.SecondLimit overtime calls for post-response verification/audit LLM to avoid delayed cross-supplier audits.

RAG Document Analysis/Vector Recovery

Document splits, Embedding batches and parallels, Qdrant clients, MinerU OCR rounds and more.

Environmental variablesType ofThe default valueExplained
AIVORY_RAG_EMBEDDING_RETRY_DELAYdurationtime.SecondThe base delay of index evasion between embedded batches is amplified by 2^min (number of attempts, 4).
AIVORY_RAG_EMBEDDING_RETRY_DELAY_2duration30*time.SecondThe upper limit for the delay being avoided is calculated for embedded re-trial.
AIVORY_RAG_EMBEDDING_RETRY_DELAY_3duration1000*time.MillisecondThe random shaking range added for each embedding re-trial to avoid delay is used for the synchronization of scattered and batch-outs.
AIVORY_RAG_DASH_SCOPE_EMBED_CONCURRENCYint2When the provider is DashScope, the upstream embedded in each document parallels the upper limit of the batch.
AIVORY_RAG_DASH_SCOPE_GLOBAL_EMBED_CONCURRENCYint2Process-level parallel DashScope embeds the upper limit on the number of requests (capacity of shared slot signals).
AIVORY_RAG_DASH_SCOPE_EMBED_ATTEMPT_TIMEOUTduration60*time.SecondDashScope embedded a single attempt call requests overtime, set below the client's upper 3 minute limit, making stuck calls visibly fail.
AIVORY_RAG_EMBED_CONCURRENCYint4A non-DashScope provider limits the upstream batch of parallel embedding for each document.
AIVORY_RAG_MAX_ATTEMPTSint2A single embedded batch of POST represents the maximum number of attempts before giving up (removing attempts in case of instant failure).
AIVORY_RAG_PDF_INSPECTION_TIMEOUTduration8*time.SecondThe parent process pair of subprocesses PDF text layer detection probes impose a deadline that is about to kill them.
AIVORY_RAG_OFFICE_XML_ZIP_ENTRY_READ_CAPint6416*1024*1024When Office Pure Text is extracted, read the upper limit of bytes for each DOCX/PPTX zip entry (text/headline/foot/XML slide).
AIVORY_RAG_PDF_INSPECTION_SAMPLE_LIMITint3Detect the maximum number of pages that are uniformly sampled when a PDF is a scan or native digital text.
AIVORY_RAG_PDF_THIN_CHARS_PER_PAGEint200When the threshold for the number of characters per sample page is lower than this, the graphic PDF is marked as "text thin" and transmitted to OCR.
AIVORY_RAG_CMD_WAIT_DELAYduration500*time.MillisecondAfter the PDF detector subprocesses overtime, the mandatory pre-killing grace period (cmd.WaitDelay) is applied.
AIVORY_RAG_PDF_RAW_SIGNALS_STRONG_SCAN_IMAGEint5The original byte “Strong Scanner” determines the image multiplier in imageCountN >= pagesM, which is used to determine that the PDF is a pure image.
AIVORY_RAG_PDF_RAW_SIGNALS_STRONG_SCAN_PAGEint4The original byte “Strong Scanner” determines the page multiplier in imageCountN >= pagesM, which is used to determine that the PDF is a pure image.
AIVORY_RAG_MINERU_SOURCE_OBJECT_CLEANUP_TIMEOUTduration30*time.SecondAfter the analysis, try to remove the time limit for the inbound objects uploaded to MinerU OCR.
AIVORY_RAG_MINERU_POLL_DEADLINEduration20*time.MinuteThe rotating MinerU extract task waits for the total time limit of the entire cycle for the done/failed state.
AIVORY_RAG_MINERUZIPCLIENT_TIMEOUTduration5*time.MinuteHTTP client with SSRF protection downloads MinerU result zip.
AIVORY_RAG_FULL_MD_READ_CAP_INSIDE_ZIPint6432*1024*1024Read the upper limit of the byte of the full.md markdown text from the MinerU result zip.
AIVORY_RAG_MAX_ZIPint64500*1024*1024Download the upper byte limit for the MinerU result zip; exceeding is rejected without buffering into memory.
AIVORY_RAG_MINERUCLIENT_TIMEOUTduration5*time.MinuteCall the MinerU Cloud API to submit, rotating queries, and downloading the http.Client overtime each time.
AIVORY_RAG_MINERU_SOURCE_TTLSECONDSint60*60The pre-signature GET URL for the source document delivered to MinerU is valid (seconds).
AIVORY_RAG_RAG_FAST_QUEUE_CONCURRENCYint4The asynq work parallel number of the "rag-fast" intake channel for the service text/table document.
AIVORY_RAG_RAG_SLOW_QUEUE_CONCURRENCYint4Service OCR/heavy document "rag" asynq work parallel numbers for slow intake channels.
AIVORY_RAG_INGEST_PIPELINE_TIMEOUTduration70*time.MinuteThe full analysis/embedded timing of each document running runIngestWithRetries.
AIVORY_RAG_INGEST_TASK_TIMEOUTduration75*time.MinuteAsynq is a single task processing overtime (asynq.Timeout) for rag.ingest tasks.
AIVORY_RAG_INGEST_UNIQUE_TTLduration80*time.MinuteAsynq is a unique sex lock TTL (asynq.Unique), which inhibits repeated entry of the same document.
AIVORY_RAG_INGEST_HEARTBEAT_INTERVALduration30*time.SecondCapture the intervals of TouchDocumentIngest so that the running document is not deemed to be expired.
AIVORY_RAG_INGEST_STALE_AFTERduration4*time.MinuteThe heartbeat of the document that is analyzed/embedded for more than this time is considered to be abandoned and recovered to re-enter.
AIVORY_RAG_INGEST_PENDING_STALE_AFTERdurationingestUniqueTTLDocuments that are still in "pending" for more than this period of time are considered to be stuck and recovered to re-enter.
AIVORY_RAG_INGEST_RECOVERY_INTERVALdurationtime.MinuteRecover the scan interval for the recovery cycle of expired abandoned intake documents.
AIVORY_RAG_INGEST_FINALIZE_TIMEOUTduration30*time.SecondAt the end of the failed intake, the vector library DeleteByDocument clears the overtime.
AIVORY_RAG_INGEST_ASYNQ_LEASE_MAX_RETRIESint1The number of times asynq MaxRetry is lost reserved for the lease/process; the processor fails to try again on its own in the streamline.
AIVORY_RAG_INGEST_ASYNQ_RETRY_DELAYduration2*time.Minuteasynq restarts the waiting delay (RetryDelayFunc) before taking the missed rental task.
AIVORY_RAG_INGEST_QUEUE_NAMEduration2*time.SecondGetDocument query overtime for dividing documents into fast/slow take cohorts.
AIVORY_RAG_RUN_INGEST_WITH_RETRIESint3The document was terminated as failed before the maximum number of attempts to ingest the entire streamline.
AIVORY_RAG_RUN_INGEST_WITH_RETRIES_2duration3*time.SecondThe entire flow water line intake base evasion between re-tests, multiplied by the number of attempts.
AIVORY_RAG_START_INGEST_HEARTBEATduration5*time.SecondThe time limit for each intake of the heartbeat is written (TouchDocumentIngest).
AIVORY_RAG_FINALIZE_CHUNK_CLEANUP_TIMEOUTduration10*time.SecondAt the end of the failed intake, DeleteChunksByDocument clears the overtime.
AIVORY_RAG_FINALIZE_STATUS_TIMEOUTduration10*time.SecondMark the failed document as “failed” in the final UpdateDocumentStatus overtime.
AIVORY_RAG_DENSE_SEARCH_LEG_LIMITint30The number of Top-N commands requested by the density/vec.Search branch in the hybrid search.
AIVORY_RAG_KEYWORD_SEARCH_LEG_LIMITint30The number of Top-N commands requested by the search keyword branch (vec.SearchKeyword) in the hybrid search.
AIVORY_RAG_SNIPPET_OFint240When the caller does not specify a ceiling, the result summary has the default byte length ceiling (by rune secure intersection).
AIVORY_RAG_SPLIT_PARAGRAPHS_AND_TABLESint800Picture markdown paragraphs below this byte length are retained as single atomic blocks and no longer divided.
AIVORY_RAG_ROUTER_CALL_TIMEOUTduration12*time.SecondThe first token hot path routes tasks to the JSON LLM call (task.router) over time before returning to normal retrieval.
AIVORY_RAG_MAP_REDUCE_SUMMARISEint200The upper limit (≤N word) for the number of middle words requested to the task model in the map-reduce segment summary tip.
AIVORY_RAG_COLLECT_DOC_HINTSint120The router document reminder line preserves the number of lead bytes for each document's original text to remove the reminder.
AIVORY_RAG_COLLECT_DOC_HINTS_2int12Maximum number of prompts per document collected for retrieval by the router.
AIVORY_RAG_FUSE_RECIPROCAL_RANKint60The fusion vector and keyword retrieval reverse ranking constants in the fusion formula 1/(rank+k).
AIVORY_RAG_RETRIEVED_SNIPPET_CHARSint2000expandHit injects the byte budget built around each pick-up command block before injecting.
AIVORY_RAG_CHILD_TARGET_CHARSint2000The target byte length that tends to each embedded block when cutting the atomic unit.
AIVORY_RAG_PARENT_TARGET_CHARSint4800The parent-level chapter is the byte length that was cut from the text when it was retrieved.
AIVORY_RAG_CHUNK_OVERLAP_CHARSint250As a sliding window overlap, add the number of bytes of the tail of the first block in front of the next subblock.
AIVORY_RAG_MAPREDUCE_GROUPTOKENSint6000Make a map-reduce summary of the estimated token budget for each block.
AIVORY_RAG_MAPREDUCE_MAXGROUPSint8The map-reduce summary group the maximum number of blocks to be processed for a single query.
AIVORY_RAG_BATCH_SIZEint64Manages the number of embedded blocks each time the Embed calls when reconstructing the vector.
AIVORY_VECTOR_QDRANT_SCROLL_PAGE_SIZE_EXISTINGCHUNKIDSint256List the number of points obtained by each Qdrant scroll page when the block ID already exists in the index.
AIVORY_VECTOR_QDRANT_SCROLL_PAGE_SIZE_VECTORCHUNKSTATUSESint256To manage the end vector status audit scan load and the number of points obtained for each Qdrant scroll page when vectoring.
AIVORY_VECTOR_DELETE_CONCURRENCYint4The maximum number of deletion requests subsequently sent by collection when a document is cleared across all dimensions.

Execution of sandbox code

python_execute Go side variables need to restart the API process to take effect; SANDBOX_* The variable works. sandbox-service The process must resume the service.

Environmental variablesType ofThe default valueExplained
SANDBOX_MAX_OUTPUT_BYTESint32768The sandbox cuts the upper byte limit of the exec stdout/stderr stream captured.
SANDBOX_MAX_ARTIFACT_BYTESint20971520Sandbox collects the maximum byte size of a single output file.
SANDBOX_S3_MAX_ATTEMPTSint3Limit the number of repetitions of botocore max_attempts for each S3 storage SDK call.
SANDBOX_S3_CONNECT_TIMEOUT_Sfloat10Connection overtime (seconds) applied to each S3 storage SDK call.
SANDBOX_S3_READ_TIMEOUT_Sfloat120Apply reading overtime (seconds) to each S3 storage SDK call.
SANDBOX_OSS_CONNECT_TIMEOUT_Sfloat30OSS bucket client connectivity overtime (seconds)
AIVORY_SANDBOX_MAX_SANDBOX_RESP_BYTESint64256<<20Each exec call decodes the sidecar HTTP responsive byte upper limit to prevent API process OOM.
AIVORY_SANDBOX_EXEC_CLIENT_OVERHEADduration120*time.SecondThe length of time added above each exec upper limit is used to set the sandbox HTTP client overtime to cover the sidecar deadline.
AIVORY_SANDBOX_SANDBOX_ERROR_BODY_READ_CAPint6464<<10Read the 4xx/5xx sidecar error respondent for the upper byte of the error information.

Built-in tools (Search / Python / Cyber Security)

Web_search results with overtime, Python Security Mode, SSRF/Network Security Bar and more.

Environmental variablesType ofThe default valueExplained
AIVORY_TOOLS_IN_TOP_Kint5model calls the default number of results for the web_search tool when top_k is not specified.
AIVORY_TOOLS_WEB_FETCH_RESPONSE_BODY_READ_CAPint64256*1024web_fetch reads the upper limit of the HTTP-responsive byte before decomposing HTML.
AIVORY_TOOLS_WEB_FETCH_EXTRACTED_TEXT_CHAR_CAPint32000web_fetch marks the upper limit of characters before the intersection to omit the text after the HTML is removed.
AIVORY_TOOLS_PYTHON_EXECUTE_UPLOAD_STAGING_FILE_SIZEint6420*1024*1024When a file is temporarily stored in a python sandbox, the value is exceeded by skipping the upper limit of the single file size for a session upload.
AIVORY_TOOLS_PYTHON_EXECUTE_IMAGE_ARTIFACT_STAGING_SIZEint6420*1024*1024When temporarily stored in the python sandbox, the value exceeds the upper limit for the single file size of a generated image product.
AIVORY_TOOLS_PYTHON_EXECUTE_STDOUT_STDERR_TRUNCATION_CAPint32*1024python_execute's stdout/stderr is the upper limit of the character cut before presenting to the model.
AIVORY_TOOLS_IN_Nint4A single image_generate calls the maximum number of images that can be requested.
AIVORY_TOOLS_IN_SIZEstring"1024x1024"image_generate calls the default width × high image size used when the size is not specified.
AIVORY_TOOLS_DAILY_IMAGE_LIMIT_RESET_WINDOWduration24*time.HourCalculate the time window for Now() when generating the quota book starting boundary for each user image.
AIVORY_TOOLS_IMAGE_IMAGE_INPUT_IMAGE_CAPint3The diagram calls the maximum number of loaded reference input images.
AIVORY_TOOLS_FETCHREMOTEIMAGE_DOWNLOAD_CAPint6432<<20Download the upper limit of bytes for image URLs returned in image API responses via the SSRF Secure Client.
AIVORY_TOOLS_IN_TOP_K_2int5The default number of fragments for the search_knowledge_base tool is called when top_k is not specified.
AIVORY_TOOLS_CONFIDENCEfloat0.95The confidence score is stored on each memory record created by the save_memory tool.
AIVORY_TOOLS_MAX_IMGint6415*1024*1024The fetch_image tool downloads the upper limit of the byte of the image; beyond rejects the response.

Session / Message / Streaming API

SSE heartbeat, flow recovery window, generate time upper limit, page and search upper limit, message path cache and more.

Environmental variablesType ofThe default valueExplained
AIVORY_API_LIMIT_2int200The default subpage size of the list-conversations interface when the limit argument is not provided for the request.
AIVORY_API_LIMIT_3int500Session list interface ?limit The hardness upper limit of the query parameter exceeds that value.
AIVORY_API_SEARCH_MESSAGE_HIT_LIMITint40The upper limit of the number of messages returned by the session search interface (there is a separate upper limit in the title command).
AIVORY_API_IMPORT_MAX_CONVERSATIONSint1000The upper limit for the number of sessions that can be created for a single import request is refused to import.
AIVORY_API_IMPORT_MAX_MESSAGES_PER_CONVint10000Import the maximum number of messages allowed for a single session in the request and refuses to import beyond.
AIVORY_API_IMPORT_MAX_CONTENT_BYTESint200*1024When importing a single line message text, the byte upper limit exceeds the section cut by this byte number.
AIVORY_API_INLINE_THREAD_QUOTE_CAPint4000The maximum rune length of the text is referenced when creating an intra-line sub-theme, exceeding the intersection.
AIVORY_API_GETCONVERSATION_ACTIVE_PATH_LIMITint200Activity path pages are divided by the upper limit of the limit parameter when a session is obtained; the excess returns the full path.
AIVORY_API_LIMIT_4int30The message list interface does not provide the default tip window page size when limit.
AIVORY_API_LISTMESSAGES_PAGE_LIMITint200The message list interface is the maximum acceptable value for the limit parameter; above is the default page size.
AIVORY_API_RATE_LIMIT_USERint20Traffic limit per user: The maximum number of times a knowledge base document is allowed to be uploaded per minute exceeds 429 returns.
AIVORY_API_CONFIDENCEfloat0.95The confidence score that is stored in the user's manually created memory entry (0-1 interval).
AIVORY_API_MAX_GEN_DURATIONduration90*time.MinuteSingle-separation generated rounds of the clock overtime ceiling, after overtime cancelled its content.
AIVORY_API_SSE_PING_HEARTBEAT_POSTduration15*time.SecondSend message streaming interfaces with SSE guaranteed ping sending intervals.
AIVORY_API_SSE_PING_HEARTBEAT_REGENERATEduration15*time.SecondRe-generate the sending intervals of the SSE guaranteed ping on the message stream interface.
AIVORY_API_SSE_PING_HEARTBEAT_STREAMduration15*time.SecondSSE preserves the sending interval for ping on the attachment interface.
AIVORY_API_STREAM_STATUS_RECHECK_INTERVALduration5*time.SecondThe flow re-connector processor rotates the message-generated state to detect the end interval.
AIVORY_API_STREAM_REPLAY_BATCH_SIZEint200Repeat the number of buffering events read per batch when SSE flow is returned/tracked.
AIVORY_API_ONLINE_PRESENCE_TOUCH_THROTTLEdurationtime.MinuteThe user’s online state seen touches between the intervals, i.e. the TTL of the seen cache marker.
AIVORY_API_CONCURRENT_GEN_SLOT_SAFETY_TTLduration30*time.MinuteEach user and the safe TTL of the slot counter occurs, so that the invalid occupied slot automatically expires.
AIVORY_API_REQUEST_SIGNATURE_REPLAY_WINDOW_FUTUREint64300Request Signature Reset: X-Req-Ts time stamps the maximum number of seconds of backward server time, exceeding which is considered to be rejected.
AIVORY_API_REQUEST_SIGNATURE_REPLAY_WINDOW_PASTint6460Request Signature Reset: The X-Req-Ts time stamp leads the maximum number of seconds of server time (clock shift tolerance) and rejects the excess.
AIVORY_API_CREDIT_MULTIPLIERfloat5.0Convert the model input + output total price to the deduction of the relative credits multiplier in the selector.
AIVORY_API_JSON_REQUEST_BODY_SIZE_CAPint644<<20The maximum number of bytes acceptable for JSON requests exceeds the number rejected by MaxBytesReader.
AIVORY_API_PROJECT_DETAIL_CONVERSATIONS_PAGE_SIZEint200Number of activity sessions loaded in the project details response (acquired upper limit, shifted to 0).
AIVORY_API_RATE_LIMIT_USER_2int20Traffic limit per user: The maximum number of times that project documents are allowed to be uploaded per minute exceeds 429 returns.
AIVORY_API_RATE_LIMIT_REGISTER_MAXint5POST/api/auth/register Traffic Limit Per IP: The maximum number of registration attempts allowed in each window, exceeding the return of 429.
AIVORY_API_RATE_LIMIT_REGISTER_WINDOWduration60*time.SecondPOST /api/auth/register The length of the scroll window for the flow limit per IP.
AIVORY_API_RATE_LIMIT_LOGIN_MAXint10Traffic limit per IP for POST/api/auth/login: The maximum number of log-in attempts permitted in each window, exceeding the return of 429.
AIVORY_API_RATE_LIMIT_LOGIN_WINDOWduration60*time.SecondPOST /api/auth/login The length of the scroll window for the flow limit per IP.
AIVORY_API_RATE_LIMIT_LOGIN_2FA_MAXint10POST /api/auth/login/2fa Traffic Limits per IP: The maximum number of two-step authentication attempts allowed in each window exceeds the return of 429.
AIVORY_API_RATE_LIMIT_LOGIN_2FA_WINDOWduration60*time.SecondPOST /api/auth/login/2fa The length of the scroll window for the flow limit per IP.
AIVORY_API_RATE_LIMIT_LOGOUT_MAXint30POST/api/auth/logout Traffic Limits per IP: The maximum number of outbound requests allowed in each window, exceeding returns of 429.
AIVORY_API_RATE_LIMIT_LOGOUT_WINDOWduration60*time.SecondPOST /api/auth/logout The length of the scroll window for the flow limit per IP.
AIVORY_API_RATE_LIMIT_REFRESH_MAXint30POST/api/auth/refresh Traffic Limit Per IP: The maximum number of token refresh requests allowed in each window exceeds 429 returns.
AIVORY_API_RATE_LIMIT_REFRESH_WINDOWduration60*time.SecondPOST /api/auth/refresh The length of the scroll window for the flow limit per IP.
AIVORY_API_RATE_LIMIT_VERIFY_EMAIL_MAXint10POST/api/auth/verify-email Traffic Limit Per IP: The maximum number of mailbox authentication attempts allowed in each window exceeds 429 returns.
AIVORY_API_RATE_LIMIT_VERIFY_EMAIL_WINDOWduration5*60*time.SecondPOST /api/auth/verify-email The length of the scroll window for the flow limit per IP.
AIVORY_API_RATE_LIMIT_SEND_CODE_MAXint3Each IP represents the maximum number of requests to the POST /api/auth/send-code interface in the window.
AIVORY_API_RATE_LIMIT_SEND_CODE_WINDOWduration60*time.SecondA fixed time window for statistics of the number of requests for /api/auth/send-code interfaces per IP.
AIVORY_API_RATE_LIMIT_FORGOT_PASSWORD_MAXint5Each IP represents the maximum number of requests to the POST/api/auth/forgot-password interface in the window.
AIVORY_API_RATE_LIMIT_FORGOT_PASSWORD_WINDOWduration15*60*time.SecondA fixed time window for statistics of the number of /api/auth/forgot-password interface requests per IP.
AIVORY_API_RATE_LIMIT_RESET_PASSWORD_MAXint5Each IP is the maximum number of requests for the POST/api/auth/reset-password interface in the window.
AIVORY_API_RATE_LIMIT_RESET_PASSWORD_WINDOWduration60*time.SecondA fixed time window for statistics of the number of /api/auth/reset-password interface requests per IP.
AIVORY_API_RATE_LIMIT_CAPTCHA_ISSUE_MAXint30Each IP represents the maximum number of requests for the GET/api/public/captcha interface in the window.
AIVORY_API_RATE_LIMIT_CAPTCHA_ISSUE_WINDOWduration60*time.SecondStatistics of the number of interface requests issued for the GET /api/public/captcha challenge for each IP.
AIVORY_API_RATE_LIMIT_CAPTCHA_VERIFY_MAXint60Each IP represents the maximum number of requests to the POST/api/public/captcha/verify interface in the window.
AIVORY_API_RATE_LIMIT_CAPTCHA_VERIFY_WINDOWduration60*time.SecondA fixed time window statistics the number of /api/public/captcha/verify response verification interface requests per IP.
AIVORY_API_RATE_LIMIT_FIRST_RUN_SETUP_MAXint10Each IP represents the maximum number of requests for the POST/api/setup (first run to create the first administrator) interface in the window.
AIVORY_API_RATE_LIMIT_FIRST_RUN_SETUP_WINDOWduration60*time.SecondStatistics of the fixed time window for each IP for the number of boot interface requests that POST/api/setup runs for the first time.
AIVORY_API_RATE_LIMIT_PUBLIC_SHARED_CONVERSATION_MAXint60Each IP is the maximum number of requests for the GET /api/public/shared/:token interface in the window.
AIVORY_API_RATE_LIMIT_PUBLIC_SHARED_CONVERSATION_WINDOWduration60*time.SecondStatistics for each IP for /api/public/shared/:token share a fixed time window for viewing the number of interface requests.
AIVORY_API_RATE_LIMIT_SHARED_ASSETS_FILES_ARTIFACTS_MAXint240Each IP is the maximum number of requests for file and artifact resource routing for a shared session in the window.
AIVORY_API_RATE_LIMIT_SHARED_ASSETS_FILES_ARTIFACTS_WINDOWduration60*time.SecondA fixed time window for the number of requested routes for sharing session files/product resources per IP.
AIVORY_API_RATE_LIMIT_OAUTH_START_CALLBACK_HANDOFF_MAXint20The maximum number of requests for OAuth initiation, referral and cross-domain routing per IP in the window.
AIVORY_API_RATE_LIMIT_OAUTH_START_CALLBACK_HANDOFF_WINDOWduration60*time.SecondStatistics of the fixed time window for the number of OAuth initiated/recalled/delivered routing requests per IP.
AIVORY_API_RATE_LIMIT_PASSWORD_CHANGE_SET_MAXint5Each IP is the maximum number of requests for /api/me/password transcripting and /api/me/password/set interfaces in the window.
AIVORY_API_RATE_LIMIT_PASSWORD_CHANGE_SET_WINDOWduration60*time.SecondA fixed time window statistics the number of /api/me/password encryption/set interface requests per IP.
AIVORY_API_RATE_LIMIT_IDENTITY_LINK_START_MAXint20The maximum number of requests per IP to the POST /api/me/identities/:id/link interface in the window.
AIVORY_API_RATE_LIMIT_IDENTITY_LINK_START_WINDOWduration60*time.SecondA fixed time window for statistics of the number of interface requests to initiate an OAuth identity association per IP.
AIVORY_API_RATE_LIMIT_2FA_SETUP_ENABLE_DISABLE_MAXint10The maximum number of requests per IP for /api/me/2fa setup, enable, and disable interfaces in the window.
AIVORY_API_RATE_LIMIT_2FA_SETUP_ENABLE_DISABLE_WINDOWduration5*60*time.SecondA fixed time window statistics the number of 2FA setup/enable/disable interface requests per IP.
AIVORY_API_RATE_LIMIT_REDEEM_CODE_MAXint10The maximum number of requests per IP to the POST/api/me/redeem (redeem code exchange) interface in the window.
AIVORY_API_RATE_LIMIT_REDEEM_CODE_WINDOWduration60*time.SecondA fixed time window for statistics of the number of requests for /api/me/redeem exchange interfaces per IP.
AIVORY_API_RATE_LIMIT_WORKSPACE_JOIN_MAXint30Each IP represents the maximum number of requests for the /api/workspaces/join/:token interface in the window.
AIVORY_API_RATE_LIMIT_WORKSPACE_JOIN_WINDOWduration60*time.SecondStatistics of the number of /api/workspaces/join/:token interface requests per IP.
AIVORY_API_SELF_USAGE_LOOKBACK_WINDOWint30GET /api/me/usage The number of days that the caller’s own message dates back.
AIVORY_API_LIMITint200The default maximum range of work spaces returned when the request does not contain ?limit.
AIVORY_API_ADMIN_WORKSPACE_DETAIL_CONVERSATIONS_PAGE_SIZEint500Manage the maximum number of sessions loaded in the triage view.
AIVORY_QUEUE_IN_PROCESS_WORKERSint8The number of simultaneous worker syntax in the background task pool within the process.
AIVORY_QUEUE_PROCESS_JOB_BUFFERint256The number of buffer slots for the task channel in the process; when the buffer is full, Enqueue transfers the new task to the evasion-return path execution.
AIVORY_QUEUE_QUEUE_BACKPRESSURE_JOB_TIMEOUTduration30*time.MinuteIn the process, the task buffer is overtime when the task executed by the back-to-back process is avoided.
AIVORY_QUEUE_QUEUE_WORKER_JOB_TIMEOUTduration30*time.MinuteIn the process, the cohort worker performs the context overtime imposed on each task.

Certification / Session / Verification Code

Token cache, validity code validity and number of attempts, TOTP time window, OAuth state TTL, etc. (excluding conventional format constants, such as verification code bits).

Environmental variablesType ofThe default valueExplained
AIVORY_API_MAX_CODE_ATTEMPTSint5The number of erroneous attempts to verify/reset the authentication code for the mail is reached and the code is canceled.
AIVORY_API_CODE_FAILURE_COUNTER_TTLduration10*time.MinuteThe survival time (TTL) of the counter for the number of erroneous attempts to verify/reset the code recorded in the mailbox.
AIVORY_API_MINIMUM_PASSWORD_LENGTHint8The minimum character length required for the user's selected account password when registering and modifying the password.
AIVORY_API_EMAIL_VERIFICATION_CODE_TTLduration10*time.MinuteThe validity period of the email sent account mailbox verification code.
AIVORY_API_PASSWORD_RESET_CODE_TTLduration10*time.MinuteThe password sent by the email restores the validity of the authentication code.
AIVORY_API_CAP_TOLfloat0.04When the slide verification code passes, the allowed error between the submitted slide ratio and the actual gap ratio.
AIVORY_API_CAPTCHA_CHALLENGE_CACHE_TTLduration5*time.MinuteThe unanswered scroll puzzle verification code challenge remains valid in the cache for as long as it remains valid.
AIVORY_API_CAPTCHA_PASS_TTLduration10*time.MinuteProve the validity of the signature passed token that has recently passed the validation code.
AIVORY_API_OAUTH_2FA_HANDOFF_COOKIE_TTLduration300*time.SecondAfter OAuth logs in, the two-step authentication login ticket is sent to the front end of the short-term HttpOnly cookie Max-Age.
AIVORY_API_OAUTH_STATE_CACHE_TTLduration10*time.MinuteThe OAuth process authorization state cache entry as CSRF protection is valid.
AIVORY_API_OAUTH_TOKEN_EXCHANGE_CONTEXT_TIMEOUTduration20*time.SecondOAuth recalls authorization codes in exchange for tokens and the upper time limit for pulling user information.
AIVORY_API_OAUTH_CROSS_DOMAIN_HANDOFF_TOKEN_TTLduration60*time.SecondThe front end is used in exchange for the one-time cross-domain OAuth delivery token validity.
AIVORY_API_2FA_LOGIN_TICKET_BURN_THRESHOLDint645The number of error TOTP verification codes permitted for a two-step verification of the sign-in ticket reaches the number of annulments of the ticket.
AIVORY_API_ISSUE_TWOFA_TICKETduration5*time.MinuteOnce the password is correct, the validity period of the two-step verification sign-in ticket issued during the TOTP authentication code must be entered.
AIVORY_OAUTH_APPLE_CLIENT_SECRET_JWT_EXPIRYduration30*time.MinuteThe validity of the generated Apple OAuth client API key JWT.

Upload / Documentation / Sharing

Image processing, storage cleaning cycles, direct split, sharing tokens, downloading cache TTLs and so on.

Environmental variablesType ofThe default valueExplained
AIVORY_API_ADMIN_ICON_UPLOAD_SIZEint64256*1024The maximum number of bytes accepted for the model icon image uploaded by the administrator.
AIVORY_API_AUDIO_TRANSCRIPTION_UPSTREAM_HTTP_TIMEOUTduration120*time.SecondOvertime for the HTTP request to forward audio to the upstream transcript API.
AIVORY_API_AUDIO_TRANSCRIPTION_USER_RATE_LIMITint20The maximum number of audio transcript requests that a single user can initiate per minute.
AIVORY_API_TRANSCRIPTION_UPSTREAM_RESPONSE_READ_CAPint641<<20Read upstream transcripts responding to the upper limit of bytes in memory.
AIVORY_API_UPLOAD_RATE_LIMIT_MAXint20The maximum number of file uploads that a single user can carry out within the Upload Stream window.
AIVORY_API_UPLOAD_RATE_LIMIT_WINDOWdurationtime.MinuteA window for limiting the flow counting of user file uploads.
AIVORY_API_OBJECT_STORAGE_DELETE_TIMEOUT_CLEANUPduration30*time.SecondStorage cleaning removes overtime for individual isolated files from object storage.
AIVORY_STORAGE_S3_DIRECT_UPLOAD_MIN_CLIENT_TIMEOUTduration20*time.MinuteThe minimum HTTP client overtime required for direct S3/OSS upload; a new client is created when the reuse is lower than this value.
AIVORY_STORAGE_DIRECT_S3_OSS_UPLOAD_HTTP_CLIENTduration20*time.MinuteRepeat client overtime short, overtime for direct S3/OSS upload of newly built HTTP client.
AIVORY_STORAGE_ALIYUN_OSS_CLIENT_CONNECT_READ_TIMEOUTS_CONNECTint6430Direct connection overtime (seconds) for the Ali Cloud OSS client used.
AIVORY_STORAGE_ALIYUN_OSS_CLIENT_CONNECT_READ_TIMEOUTS_RWint64300Direct read time overwritten by the Ali Cloud OSS client (seconds).
AIVORY_STORAGE_PRESIGN_URL_TTLduration3600*time.SecondWhen the caller does not specify a validity date, the GET URL application pre-signature expires for direct transmission.
AIVORY_STORAGE_PRESIGN_URL_TTL_CLAMP_CEILINGduration86400*time.SecondImprove the upper limit of the validity of the direct pre-signature GET URL requested by the caller.
AIVORY_STORAGE_SIDECAR_STORAGE_CLIENT_HTTP_TIMEOUTduration5*time.MinuteCall the sandbox sidecar object to store the put/delete interface for HTTP transit overtime.

Admin console tasks (backup / vector maintenance / redeem code)

Backup size upper limit with asynchronous routing, vector maintenance batch, redeem code upper limit, etc.

Environmental variablesType ofThe default valueExplained
AIVORY_API_BACKUP_EXPORT_JOB_HISTORY_RETENTIONint20Previous backups retained in memory history export the number of task records, exceeding the number of oldest records after cutting.
AIVORY_API_BACKUP_EXPORT_JOB_RUNTIMEduration12*time.HourBackground backup exports take the maximum actual run time allowed before the task is cancelled.
AIVORY_API_USER_DELETE_JOB_RUNTIMEduration2*time.HourThe asynchronous user deletes the total run budget for the task, after the overtime task fails and waits for the restart to run (full-step scratch, etc.).
AIVORY_API_USER_DELETE_FINAL_CLEANUP_TIMEOUTduration1*time.HourRemove the standalone time budget for the task end disk/object storage cleaning phase (not occupying the main task budget); the value is also used to start the bottom scan.
AIVORY_API_USER_DELETE_CONV_BATCHint200Remove the number of sessions (along with its message) that are cleaned for each short transaction of the task, the smaller the batch, the more friendly the SQLite single writer is.
AIVORY_API_USER_DELETE_USAGE_BATCHint10000Remove the number of log lines that are used for cleaning each batch of tasks.
AIVORY_API_USER_DELETE_JOB_HISTORY_RETENTIONint20Users stored in memory delete the number of tasks history records.
AIVORY_API_USER_DELETE_PROGRESS_EVERYint50The vector/disk cleaning phase shows how many items are updated for each process.
AIVORY_API_CONFIG_IMPORT_MULTIPART_MEMORY_BUFFERint6416<<20Analysis administrators configure to import multipart uploaded memory buffers; exceed partial overwriting to temporary files.
AIVORY_API_BACKUP_IMPORT_MULTIPART_MEMORY_BUFFERint6432<<20Resolve the full backup imported to the multipart uploaded memory buffer zone; beyond the partial overwriting to the temporary file.
AIVORY_API_MAX_CONFIG_SIZEint64512<<20The maximum request size accepted when importing an administrator configuration archive.
AIVORY_API_QDRANT_ARCHIVE_REQUEST_TIMEOUTduration5*time.MinuteExport or import backup archives when calling Qdrant for a single HTTP request overtime.
AIVORY_API_QDRANT_EXPORT_SCROLL_PAGE_SIZEint256Export the number of credits drawn from each /points/scroll page when the Qdrant collection is archived.
AIVORY_API_QDRANT_IMPORT_UPSERT_FLUSH_BATCH_SIZEint128When importing a Qdrant collection, each batch accumulated to that score is printed upert once.
AIVORY_API_ADMIN_USER_LIST_PAGE_SIZE_CAPint50The administrator user interface returns the default number of bars when a limit is not explicitly specified.
AIVORY_API_ADMIN_CREATED_USER_MIN_PASSWORD_LENGTHint8The minimum password length required by the administrator when creating a user account.
AIVORY_API_ADMIN_PASSWORD_RESET_MIN_LENGTHint8The administrator resets the minimum character length required for the new password in the user password interface.
AIVORY_API_ADMIN_USER_CONVERSATIONS_LISTING_CAPint500Administrators view the maximum number of sessions returned for a single user session (for support/abuse scrutiny).
AIVORY_API_USAGE_REPORT_PAGE_SIZE_CAPint50The administrator records the default number of pages per page used in the report when the requested page_size is missing or exceeds the 1-200 range.
AIVORY_API_ANALYTICS_WINDOWint30The administrator analyzes the default reverse window (day) when the days query parameter is not provided.
AIVORY_API_ANALYTICS_WINDOW_2int365Administrators analyze the days query parameters for the acceptable maximum number of days, and values beyond the range will be ignored.
AIVORY_API_ANALYTICS_BREAKDOWN_TOP_Nint8The number of header keys retained (Top-N) in Administrator Analysis by model and by user segmentation and its time sequence.
AIVORY_API_BULK_REDEEM_CODE_GENERATION_QUANTITYint1000A single batch generates the maximum number of redeem codes that can be cast for a request.
AIVORY_API_MAX_SKILL_ASSET_BYTESint6420*1024*1024Maximum number of bytes uploaded for a single skill resource file (template/script/small data).
AIVORY_API_VECTOR_MAINTENANCE_JOB_HISTORY_RETENTIONint20The last number of tasks stored in the memory in the vector maintenance history will be discarded.
AIVORY_API_VECTOR_MAINTENANCE_JOB_RUNTIMEduration12*time.HourA single vector maintenance task (index audit or reconstruction) runs overtime in the context before it is cancelled.

Server Launch / Configuration

HTTP server overtime, elegant shutdown, start-up process constant and so on.

Environmental variablesType ofThe default valueExplained
AIVORY_CMD_ARCHIVE_GC_BOOT_SETTLE_DELAYduration2*time.MinuteDelay between server boot and first archive work area GC cleaning, avoiding immediate cleaning when cold boot.
AIVORY_CMD_RUN_PRUNEduration5*time.MinuteA single archive GC cleaning workspace (for object storage) runs on the context overtime.
AIVORY_CMD_ARCHIVE_GC_SWEEP_INTERVALduration6*time.HourThe interval between the GC cleaning of the archive workspace is used to remove the expired /workspace archive package from the object storage.

10 The front

** The translation period ** Entry into force (Vite in npm run build Internal time VITE_* The environmental variables need to be changed in the setting of the building environment and are invalid during the runtime. rotating intervals, page splitting, re-trial / evasion, shaking, overtime, client size upper limit, etc.

Environmental variablesType ofThe default valueExplained
VITE_AIVORY_IMAGE_API_MY_IMAGES_LIMITenvNum60Draw the default number per page (limit) when the user is currently logged in to their own generated library.
VITE_AIVORY_WORKSPACES_API_ADMIN_LIST_LIMITenvNum200The default number (limit) per page requested by the Administrator’s Workspace list.
VITE_AIVORY_CONVERSATIONS_API_LIST_LIMITenvNum200The default number per page requested by the session list (limit).
VITE_AIVORY_CONVERSATIONS_API_LIST_ARCHIVED_LIMITenvNum200The default number (limit) per page requested by the archived session list.
VITE_AIVORY_ADMIN_API_USERS_LIMITenvNum50The administrator lists the default number per page request (limit).
VITE_AIVORY_ADMIN_API_USER_IMAGES_LIMITenvNum60The administrator scrolls down to see the default number per page (limit) when a user generates a chart.
VITE_AIVORY_ADMIN_API_ANALYTICSenvNum30The administrator analyzes the default retrospect window (day) sent by the dashboard request.
VITE_AIVORY_MAX_BYTESenvNum256 * 1024The administrator icon is the maximum number of bytes uploaded by the client, exceeding which is rejected before the request (in line with the backend upper limit).
VITE_AIVORY_MAX_LENenvNum12_000The maximum character length of the message is entered in the chat box, exceeding which is prohibited from sending.
VITE_AIVORY_INGEST_POLL_MSenvNum1200During the time the sending button remains locked, the rotating appendix receives (resolves / embeds) the state interval (milliseconds).
VITE_AIVORY_PAGEenvNum30The user generates an unlimited number of images scrolled per page (home screen loads and more loads).
VITE_AIVORY_RUN_TIMEOUT_MSenvNum120_000Pyodide Python runs a single hard clock upper limit (milliseconds) in the browser, and overtime terminates worker.
VITE_AIVORY_MAX_STREAM_CHARSenvNum200_000Pyodide runs the maximum total number of characters for midstream stdout/stderr, exceeding the cut to prevent out-of-control printing.
VITE_AIVORY_MAX_RESULT_CHARSenvNum20_000Pyodide runs the final outcome expression repr() for the maximum character length before the intersection.
VITE_AIVORY_ADMIN_BACKUP_EXPORT_JOB_POLL_INTERVALenvNum2500The administrator backup page rotates to update the intervals (miles) for the status of the running backup export task.
VITE_AIVORY_PAGE_SIZE_2envNum20Administrators redeem the number of rows per page in the code table (underpages for obtained rows in the client).
VITE_AIVORY_PAGE_SIZEenvNum50The administrator records the number of rows per page requested by the table (pageSize).
VITE_AIVORY_IMAGES_PAGEenvNum60Administrators scroll down the user's library to the number of images drawn per page in the view (home screen loads and more loads).
VITE_AIVORY_ONLINE_WINDOW_SenvNum300In the Administrator User table, the last user activity falls within that time window (seconds) and is considered online.
VITE_AIVORY_PAGE_SIZE_3envNum50The number of rows per page requested by the administrator's user list (service-side limit).
VITE_AIVORY_KB_DOC_STATUS_POLL_INTERVALenvNum2200When a document is still in the resolution/embedding phase, rotating refreshes the knowledge base document status intervals (milliseconds).
VITE_AIVORY_CONV_PAGEenvNum200The side bar session list shows the number of sessions drawn per page (home screen loads and scroll loads).
VITE_AIVORY_MSG_PAGEenvNum40The number of messages drawn per page when a session is opened (home page and the earlier message loaded by scrolling up).