Skip to content

support S3 for file storage - #15

Merged
KevinHuSh merged 2 commits into
infiniflow:mainfrom
KKould:main
Dec 25, 2023
Merged

KevinHuSh merged 2 commits into
infiniflow:mainfrom
KKould:main

Conversation

@KKould

@KKould KKould commented Dec 25, 2023

Copy link
Copy Markdown
Member

What problem does this PR solve?

support S3 for file storage

What is changed and how it works?

Code changes

  • Has Code change
  • Has CI related scripts change

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Note for reviewer

@KevinHuSh
KevinHuSh merged commit f937145 into infiniflow:main Dec 25, 2023
yingfeng pushed a commit that referenced this pull request Feb 5, 2024
* feat: support S3 for file storage

* doc: fmt env template
yuzhichang added a commit to yuzhichang/ragflow that referenced this pull request Jun 16, 2026
Single P0-blocker closed:
- Phase 4.4 orchestrator side: new internal/agent/orchestrator
  Driver with V1 in-memory (canvasID, sessionID) persistence;
  service.AgentService.RunAgent signature extended to take
  (sessionID, userInput); handler emits one SSE frame per event
  + [DONE] tail. Closes the "wait for user" multi-turn cycle
  end-to-end (engine side was already real since v3.3.1).

Four P1 items closed:
- Phase 5a primary registration swap: newRetrievalComponent
  parses v1 DSL param surface (kb_ids, top_n, top_k, similarity_threshold,
  keywords_similarity_weight, rerank_id, empty_response); fixture_stubs
  registry now delegates to the real wrapper.
- Phase 8b real TTS engine (package level): modelProviderSynthesizer
  calls models.BaseModel.AudioSpeech via 60+ existing driver impls;
  Redis cache key tts:cache:<tenant>:<sha256>, 7d TTL, env override.
  cmd boot wiring is the 1-line re-add when needed.
- OQ infiniflow#6 per-component-class timeout split: componentDefaults map
  (LLM/Message/Agent=600s, Retrieval=60s, Tavily/DuckDuckGo/ArXiv/...=12s,
  ExeSQL/Invoke=3s) + 4-level resolution (per-class env → table →
  uniform env → 600s fallback). Backward compatible.
- OQ infiniflow#15 LLM max_retries + delay_after_error: retryInvoker decorator
  with exponential backoff (1-min cap), ctx-cancel-aware.
  resolveChatInvoker prevents stacking. LLMParam.MaxRetries
  (default 3) + DelayAfterError (default 2s).

Two user-deferred (no code change):
- Phase 8b MemorySaver completion (af741220c partial is current).
- tools/migrate-canvas binary.

Gap analysis: .claude/plans/agent-go-port-gap-analysis.md updated to v3.5
(supersedes v3.4 reconciliation). Net closure: 5/8 open items closed;
the v3.4 plan's "GA-candidate" milestone reached for the happy path.

Build: clean. Tests: 365 passed, 27 pre-existing DSL fixture failures.

Co-Authored-By: Claude <[email protected]>
yuzhichang added a commit to yuzhichang/ragflow that referenced this pull request Sep 29, 2026
The delivery gate could refuse certification and still watch a guess
ship: infiniflow#15, infiniflow#24, infiniflow#25 and infiniflow#28 all ended with passed=false and an answer
line in flight - on infiniflow#28 q25 the run had served BOTH gold documents and
still shipped an ungrounded guess for the answer line. When the gate
ends in FAIL after actually auditing (verdicts on record; an audit
outage is a provider failure, not a reasoning one, and does not block),
the answer line and everything after it - where the guess and its
justification ride - are replaced by the declaration the refusal
implies: not derivable from the corpus, with the Candidate Matrix above
left standing as the evidence record.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants