mstfyldzandClaude Sonnet 5 c939dcf564 feat: iddianame-first case summary + remove hardcoded AI endpoint
- summarizeCase: if an iddianame is among the case's documents, run a
  narrow first-pass analysis on it alone (isnatEdilenSuc, iddiaOzeti,
  onemliTarihler), then feed that as context into the general
  case-wide evaluation instead of treating every document equally.
- ANALYSIS_SYSTEM_PROMPT no longer asks the AI to guess "taraflar" -
  that now comes from real UYAP data (cases.parties) instead.
- Removed the hardcoded RunPod proxy URL fallback from every call
  site (document/chat/precedent controllers + lib/openai.ts) - it was
  a real infra endpoint checked into source. New lib/aiConfig.ts
  throws if RUNPOD_API_BASE_URL isn't set rather than silently
  falling back to it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-09 20:00:06 +03:00
2026-08-08 17:19:28 +03:00
2026-08-08 17:19:28 +03:00
2026-08-08 17:19:28 +03:00
2026-08-08 17:19:28 +03:00
2026-08-08 17:19:28 +03:00
2026-08-08 17:19:28 +03:00
2026-08-08 17:19:28 +03:00
2026-08-08 17:19:28 +03:00
S
Description
No description provided
68 MiB
Languages
TypeScript 99.2%
JavaScript 0.4%
Dockerfile 0.4%