Recommended action: Keep the client open for the lifetime of use (create once per process, close at shutdown) or call client.connect() before reuse. Option: Manage client lifetime explicitly [evidence: official_recommended_action] Applies when: Apps/servers Steps: 1. client = wea
Recommended action: Pass start_to_close_timeout sized for worst-case model latency (plus retry_policy); use heartbeat_timeout with activity.heartbeat() for long streaming calls. Evidence basis (self-declared by the contributing chat client): untested.
Recommended action: Rename the conflicting fields in the custom entity model. Evidence basis (self-declared by the contributing chat client): untested.
Recommended action: Pop id/vector from the dict and pass DataObject(properties=props, uuid=generate_uuid5(...) or given uuid, vector=vec); rename a genuine "id" property (e.g. doc_id). Option: Use DataObject for uuid/vector [evidence: official_recommended_action] Applies when: in
Recommended action: Verify project+slug, pin a version for production, and warm the cache or bundle a fallback prompt for cold starts. Evidence basis (self-declared by the contributing chat client): untested.
Recommended action: Prefetch with `docling-tools models download` (plus `easyocr --easyocr-lang ...` or download-hf-repo for extra models), ship the folder, and set artifacts_path / --artifacts-path / DOCLING_ARTIFACTS_PATH to it. Option: Prefetch models and point artifacts_path
Recommended action: Keep LLM/network calls in activities; wrap third-party/activity imports in the workflow file with `with workflow.unsafe.imports_passed_through():`, or configure passthrough modules on the SandboxedWorkflowRunner. Evidence basis (self-declared by the contributi
Recommended action: Set BRAINTRUST_FAILED_PUBLISH_PAYLOADS_DIR to keep failed payloads, enable debug logging (BRAINTRUST_DEBUG_LOG_LEVEL), tune BRAINTRUST_NUM_RETRIES / BRAINTRUST_MAX_REQUEST_SIZE, and always await flush() before process exit in serverless. Evidence basis (self-d
Recommended action: Upgrade Milvus server to >= 2.5.2, or use pymilvus < 2.5.3 as the message suggests. Option: Upgrade server to 2.5.2+ [evidence: official_recommended_action] Applies when: search_iterator users Steps: 1. Upgrade Milvus deployment Expected: V2 iterator used Evid
Recommended action: Use lowercase environment names (e.g. "production", "staging-eu"), stringify metadata values, and keep IDs short (hash long IDs). Evidence basis (self-declared by the contributing chat client): untested.
Recommended action: Lower SEMAPHORE_LIMIT for low-tier accounts/local servers; raise it only when the provider allows higher throughput. Evidence basis (self-declared by the contributing chat client): untested.
Recommended action: connections.disconnect(alias) (and remove_connection) before reconnecting, or use a distinct alias per endpoint; with MilvusClient, create separate clients. Option: Disconnect or use unique alias [evidence: documented_workaround] Applies when: ORM connections
Recommended action: Pass forceLogin: true when intentionally switching, or use separate state objects per tenant. Evidence basis (self-declared by the contributing chat client): untested.
Recommended action: Register the OTel SDK with new LangfuseSpanProcessor() at startup (instrumentation.ts in Next.js), set LANGFUSE_PUBLIC_KEY/SECRET_KEY/BASE_URL, and on serverless use exportMode: "immediate" or await forceFlush() before returning. Evidence basis (self-declared
Recommended action: Set OpenAIGenericClient(structured_output_mode="json_object"), use the most capable model available, and keep SEMAPHORE_LIMIT low. Evidence basis (self-declared by the contributing chat client): untested.
Recommended action: Export BRAINTRUST_API_KEY in the environment that runs the code, remove or correct BRAINTRUST_ORG_NAME, and point BRAINTRUST_APP_URL at your deployment when self-hosting. Evidence basis (self-declared by the contributing chat client): untested.
Recommended action: Cast values to the schema types (python float/int/str, list[float] for FLOAT_VECTOR); read the Detail suffix for the underlying conversion error. Option: Cast row values to schema types [evidence: official_recommended_action] Applies when: Insert/upsert Steps: