-
-
Notifications
You must be signed in to change notification settings - Fork 1
feat:Expand OpenAPI: Assistant lifecycle, MCP discovery, vector-store read #201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
WalkthroughExpanded OpenAPI spec adds Assistant lifecycle endpoints, MCP discovery, and a vector-store read. Introduces new tool-definition models (HTTP/MCP/File/Web), new request/response schemas, enums, and error modeling. Propagates vector_store_id to several bodies and updates Assistant schema references and defaults. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Client
participant API as Studio API
participant Assistant as Assistant Service
participant Exec as Execution Engine
participant Tools as Tool Integrations
participant VS as Vector Store
Client->>API: POST /studio/v1/assistants (CreateAssistantRequest)
API->>Assistant: Create Assistant
Assistant-->>API: Assistant created
API-->>Client: Assistant
Client->>API: PATCH /assistants/{id} (ModifyAssistantRequest)
API->>Assistant: Update config/tools/enums
Assistant-->>API: Assistant updated
API-->>Client: Assistant
Client->>API: POST /assistants/{id}/run (RunAssistantRequest)
API->>Exec: Start run (tool defs + optimization)
par Tool calls
Exec->>Tools: Invoke HTTP/MCP/File/Web tool
Tools-->>Exec: Tool result / error
and Data fetch (optional)
Exec->>VS: Query by vector_store_id
VS-->>Exec: Matches
end
Exec-->>API: MaestroRunResult (with optional error)
API-->>Client: Run result
sequenceDiagram
autonumber
actor Client
participant API as Studio API
participant MCPDisc as MCP Discovery
participant MCPHost as MCP Server/Host
Client->>API: POST /studio/v1/mcp/discover
API->>MCPDisc: Discover tools
MCPDisc->>MCPHost: Fetch MCP manifest/definitions
MCPHost-->>MCPDisc: MCPDefinition(s)
MCPDisc-->>API: MCPDiscoveryResponse (MCPTool, resources)
API-->>Client: Discovery result
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Poem
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (136)
📒 Files selected for processing (1)
🔇 Additional comments (15)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit
New Features
Improvements