Skip to content

fix(research): expose manage_research as a native tool - #6331

Open
asd-standard wants to merge 1 commit into
odysseus-dev:devfrom
asd-standard:fix/manage-research-native-schema
Open

asd-standard wants to merge 1 commit into
odysseus-dev:devfrom
asd-standard:fix/manage-research-native-schema

Conversation

@asd-standard

Copy link
Copy Markdown

Summary

manage_research (list/read/delete saved deep-research reports) was fully implemented and indexed but missing from FUNCTION_TOOL_SCHEMAS, so native function-calling models reported it as unavailable. This registers the native schema (action list/read/delete, id, search) and makes the generic "research" keyword hint co-select it alongside trigger_research, matching the sibling manage_documents tool.

Target branch

  • This PR targets dev, not main. All PRs land in dev.

Linked Issue

Fixes #2130

Type of Change

  • Bug fix (non-breaking — fixes a confirmed issue)

Checklist

How to Test

  1. Run the app (Docker or uvicorn).
  2. On a native function-calling (API) model, ask "list my research" or "read my research reports".
  3. Confirm manage_research appears in the tool list and returns the report text + sources. Before this fix, the model reported it had no manage_research tool.
  4. python -m pytest tests/test_manage_research_tool_schema.py tests/test_tool_index_schema_parity.py tests/test_tool_rag_keyword_hints.py -q
  5. python -m py_compile src/tool_schemas.py src/tool_index.py

Visual / UI changes — REQUIRED if you touched anything that renders

No visual/UI change — Python-only (src/), no static/, CSS, or HTML files modified.

Screenshots / clips

Not applicable.


Transparency: this PR was AI-assisted (DeepSeek-v4-pro). It is a single, targeted, issue-backed fix, not a bulk auto-generated PR. Commits carry a Co-Authored-By: DeepSeek-v4-pro trailer.

manage_research (list/read/delete saved deep-research reports) was fully
implemented and indexed but had no entry in FUNCTION_TOOL_SCHEMAS, so native
function-calling models never saw it. Register the schema and co-select it
with trigger_research on generic "research" intents.

Fixes odysseus-dev#2130

Co-Authored-By: DeepSeek-v4-pro
@github-actions github-actions Bot added the ready for review Description complete — ready for maintainer review label Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for review Description complete — ready for maintainer review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

manage_research tool is invisible to native function-calling models

1 participant