FROM feat/420-project-endpoints TO development#460
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughAdds a per-user ProjectService and ProjectRepo with API endpoints, introduces a math calculator tool, updates branding strings to "Enso Labs - Orchestra", adjusts embeddings/store defaults and prompt/config handling, tweaks flow graph identifiers and frontend UI/style/typing, and updates tests and prompt content. Changes
Sequence Diagram(s)sequenceDiagram
actor User
participant Frontend
participant API as /projects/search
participant ServiceContext
participant ProjectService
participant Store
User->>Frontend: Submit search
Frontend->>API: POST /projects/search (ProjectSearch)
API->>API: verify_credentials(), get_store()
API->>ServiceContext: instantiate with user_id, store
ServiceContext->>ProjectService: create/use project_service
alt filter.id provided
API->>ProjectService: get_doc(project_id, id)
ProjectService->>Store: get(namespace, key)
Store-->>ProjectService: Document
else
API->>ProjectService: search_docs(query, filter, limit, offset)
ProjectService->>Store: asearch(namespace, query, filter, limit, offset)
Store-->>ProjectService: [SearchItem...]
end
ProjectService-->>API: Project(s)
API-->>Frontend: { projects: [...] }
Frontend-->>User: Render results
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Free 📒 Files selected for processing (2)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
Closes #420
Summary by CodeRabbit
New Features
Bug Fixes
Chores
Tests