-
Notifications
You must be signed in to change notification settings - Fork 26
feat: Declare new doctype and schema for assistant ✨ #2349
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: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -129,6 +129,11 @@ | |||||||||||||||||
| "type": "cc.cozycloud.announcements.uploads", | ||||||||||||||||||
| "verbs": ["GET"], | ||||||||||||||||||
| "description": "Remote-doctype required to get announcements images" | ||||||||||||||||||
| }, | ||||||||||||||||||
| "announcements-uploads": { | ||||||||||||||||||
| "type": "io.cozy.ai.chat.assistants", | ||||||||||||||||||
| "verbs": ["ALL"], | ||||||||||||||||||
| "description": "Remote-doctype required to fetch, create and update assistant data" | ||||||||||||||||||
|
Comment on lines
+133
to
+136
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Scope 🔒 Suggested scope (if DELETE isn’t needed)- "verbs": ["ALL"],
+ "verbs": ["GET", "POST", "PUT"],📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This config has been used before in old part There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||||||||||||||||||
| } | ||||||||||||||||||
| }, | ||||||||||||||||||
| "routes": { | ||||||||||||||||||
|
|
||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename this key to "assistants"