Skip to content

Staging - #55

Merged
EricNGOntos merged 9 commits into
mainfrom
staging
May 13, 2026
Merged

EricNGOntos merged 9 commits into
mainfrom
staging

Conversation

@EricNGOntos

Copy link
Copy Markdown
Contributor

Summary

  • describe the change
  • describe any API, worker, deployment, or migration impact
  • link the related issue or task

Verification

  • list the commands you ran
  • list any manual API, worker, or local-dev checks you performed
  • note anything intentionally not tested

Deployment Notes

  • note new or changed environment variables
  • note database migrations, queue changes, storage changes, or release-order requirements
  • note backwards compatibility or rollback concerns

Checklist

  • Tests were added or updated when behavior changed
  • Public docs, examples, or OpenAPI contracts were updated when needed
  • Database migrations are idempotent and safe to deploy
  • Logs, errors, and validation paths avoid leaking secrets or user data
  • The pull request description explains any breaking or user-visible change

EricNGOntos and others added 8 commits May 13, 2026 18:40
…ing, synthesis, and execution budget management.
Resolve Issue #52: Fix missing document-level images and incorrect rendering order
The real SDKs live in standalone repos:
- Python: Ontos-AI/knowhere-python-sdk
- Node: Ontos-AI/knowhere-node-sdk

Deleted:
- packages/sdk-python/ (only contained build artifacts)
- packages/sdk-typescript/ (only contained dist/node_modules)
- packages/openapi-specs/ (empty, only node_modules)

Updated AGENTS.md project structure accordingly.
…act (#57)

- Add use_agentic (bool|null) request parameter: true=force agentic,
  false=force legacy, null=server default (RETRIEVAL_AGENTIC_ENABLED).
- Remove deprecated enable_decomposition parameter (was ignored).
- Strip debug-only response fields (plan, steps, wallet_snapshot,
  planner_snapshot, final_strategy_used, evidence_text).
- Keep core response: namespace, query, router_used, answer_text,
  referenced_chunks, results.

_SCOPE_NAV_PROMPT = """\

_DISCOVERY_SELECT_PROMPT = """\
"""


_ACTION_PROMPT = """\
data = _json.loads(text)
if isinstance(data, dict):
return _extract(data)
except (ValueError, _json.JSONDecodeError):
data = _json.loads(fence_match.group(1).strip())
if isinstance(data, dict):
return _extract(data)
except (ValueError, _json.JSONDecodeError):
data = _json.loads(brace_match.group())
if isinstance(data, dict):
return _extract(data)
except (ValueError, _json.JSONDecodeError):
# Simple queries: planner returns a single-step plan (no decomposition).
# Complex queries: planner returns a multi-step plan with synthesize.
# Both go through the same code path.
from shared.services.retrieval.workflow.orchestrator import WorkflowOrchestrator

from shared.core.database import get_db_context
from shared.services.retrieval.agentic.budget import BudgetLedger
from shared.services.retrieval.agentic.orchestrator import RetrievalAgent
parsed = json.loads(text)
if isinstance(parsed, dict):
return parsed
except (ValueError, json.JSONDecodeError):
@EricNGOntos
EricNGOntos merged commit b0aed60 into main May 13, 2026
13 checks passed
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