Commit History

Add max_tokens parameter to NexAGI endpoint
f89f0c8
Running

AkshayM commited on

Add privacy column to Document model + migration 005
262e6d5

AkshayM commited on

Remove PII from research mode and response handlers
390b099

AkshayM commited on

Tune Presidio: strict mode masks names+orgs for NDA, light mode skips them for research
073907c

AkshayM commited on

Add privacy flag to upload β€” PII runs only when privacy=True (NDA mode)
82a91b9

AkshayM commited on

Fix tuple unpacking error in gather result for PDF parsing
d3f3dec

AkshayM commited on

Skip MarkItDown for PDFs β€” run only as fallback if pypdf returns empty
e2a2578

AkshayM commited on

Swap pdfplumber β†’ pypdf for upload parsing (3x faster text extraction)
a965d17

AkshayM commited on

Fix upload dedup crash: scalar_one_or_none β†’ scalars().first() for sha256 lookup
f67c9de

AkshayM commited on

Remove forced section headers from SYSTEM_WHITE_BOX β€” /query returns raw LLM output
d134998

AkshayM commited on

Fix NexAGIResponse: reasoning_details is list[dict], not dict
807225f

AkshayM commited on

Fix NexAGI: reasoning_details is already a list of dicts
6102a51

AkshayM commited on

Fix NexAGI: reasoning_details list model_dump, add reasoning_details to message schema
9cb8ece

AkshayM commited on

Update README + mermaid: add NexAGI free-form reasoning chat
0b6e6e0

AkshayM commited on

Add /NexAGI endpoint β€” OpenRouter reasoning via nex-agi/nex-n2-pro:free
464d909

AkshayM commited on

Update README: dual LLM providers, 1 worker, JSON analyze, PII skips
5917ff5

AkshayM commited on

Parallelize multi-doc retrieval with asyncio.gather
a0f0ee1

AkshayM commited on

Restore JSON parsing in analyze_document β€” populate all DocumentAnalysis fields
06a5fdf

AkshayM commited on

Revert "Remove deepeval test from HF"
f33ec9c

AkshayM commited on

Remove deepeval test from HF
07e4eef

AkshayM commited on

Fix import path in deepeval test
50842e1

AkshayM commited on

Add deepeval RAG quality tests (faithfulness + relevancy)
ab39019

AkshayM commited on

Reduce default concurrent jobs to 5
7587052

AkshayM commited on

Append verification warning to answer so frontend always shows it
1a0d1f5

AkshayM commited on

Handle null content in LLM response (NoneType len error)
102af7a

AkshayM commited on

Auto-fallback to mercury when minimax fails (chat + stream)
ed71b77

AkshayM commited on

Skip PERSON/LOCATION/ORG in PII masking β€” only mask contact & financial IDs
ebf84fb

AkshayM commited on

Safe minimax defaults: no thinking, temp=0.3, max_tokens=4096
536fca2

AkshayM commited on

Profile-aware API key: mercury uses INCEPTION_API_KEY, minimax uses LLM_API_KEY
fe833f1

AkshayM commited on

Minimax uses LLM_BASE_URL env var; mercury always uses inceptionlabs.ai
e2b443d

AkshayM commited on

Remove LLM_BASE_URL env override β€” use profile's own base_url
08f6f02

AkshayM commited on

Keep only mercury + minimax profiles; remove custom profile logic entirely
980aa8d

AkshayM commited on

Drop custom profile as default β€” always default to mercury; minimax remains selectable
17b877a

AkshayM commited on

Speed up analyze: use black_box mode (no thinking, 2K tokens) instead of white_box
3a19fe3

AkshayM commited on

Reduce uvicorn workers from 8 to 1 to prevent OOM on HF Spaces
3fb79c1

AkshayM commited on

Remove _strip_headers post-processing β€” let LLM output pass through as-is
bededb8

AkshayM commited on

Strip headers server-side + stronger prompt to enforce plain-text output
f4d05f9

AkshayM commited on

Force plain-text output: remove all headers/structure from LLM prompt
d62b685

AkshayM commited on

Simplify document_agent: drop JSON parsing, return raw LLM output; fix llm.py syntax errors
7fdb111

AkshayM commited on

fix: strict query-only output in analyze β€” no extra sections
79d0c2f

AkshayM commited on

feat: query-driven analyze + context window bump
4127275

AkshayM commited on

fix: make analyze JSON structure query-driven instead of rigid template
6d2e6ad

AkshayM commited on

fix: normalize all LLM JSON fields + wire cross_doc/per_doc
3788bc0

AkshayM commited on

fix: normalize list-typed limitations/methodology from LLM JSON
ede9cc4

AkshayM commited on

fix: thinking.type enabled for analyze mode + status event
84db387

AkshayM commited on

fix: increase httpx timeout 120s -> 300s/600s for thinking models
6addc68

AkshayM commited on

fix: thinking.type enabled instead of adaptive for NVIDIA API
1c1c87d

AkshayM commited on

feat: cache reranker snapshot at build time via huggingface_hub
e61df26

AkshayM commited on

feat: minimax temp=0.1 + thinking adaptive + json output for analyze
28a6ad4

AkshayM commited on

fix: handle LLM_BASE_URL with or without /chat/completions suffix
cc8bded

AkshayM commited on