aido-onyx/branding
livdebus d4cb8dcb99 fix(smb): ingest as File source so docs appear in default chat; update UI patch
The Ingestion API docs require creating a connector with source=file and
pushing documents with from_ingestion_api=true so they are indexed under a
recognizable DocumentSource that Onyx's chat UI can filter and search.

Previously we used source=ingestion_api / input_type=poll. Documents were
indexed (visible in the admin panel) but were not searchable in Onyx's
default chat because ingestion_api is absent from the chat filter UI.

Connector changes:
- onyx_client.py: create connector as source=file, input_type=load_state,
  connector_specific_config.file_locations=[] (avoids LocalFileConnector
  health-check errors since we push via API, not disk crawl)
- sync.py: set source=file and from_ingestion_api=true on every document
  and index payload so Onyx treats them as API-ingested File docs

UI overlay changes (branding/smb/smb-ui.patch):
- Replace document.source_type === ValidSources.IngestionApi with
  document.metadata?.smb_source
- This keeps the broken-preview suppression and logical-path clipboard
  copy working for SMB docs, while leaving normal File uploads untouched

Result: SMB documents now surface in default chat under the File filter,
the connector stays "Up to Date" without dummy-file errors, and the
Phase 2 click-to-copy behavior continues to work.
2026-09-24 20:34:31 +02:00
..
assets AIDO white-label overlay for Onyx Community Edition 2026-06-27 08:06:58 +05:00
i18n i18n: system-prompt desc, search-filter/model/files labels, hide notif badge for users 2026-08-19 23:07:31 +05:00
smb fix(smb): ingest as File source so docs appear in default chat; update UI patch 2026-09-24 20:34:31 +02:00
templates Fix remaining branding leaks: error-page logo/links + notification bell 2026-06-29 22:57:50 +05:00
apply-branding.mjs Upgrade to Onyx v4.7.2; drop temporary i18n overlay 2026-09-16 17:02:28 +05:00
branding.config.json Upgrade to Onyx v4.7.2; drop temporary i18n overlay 2026-09-16 17:02:28 +05:00