Skip to content
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

feat: GROWI AI Next #9492

Open
wants to merge 123 commits into
base: master
Choose a base branch
from
Open

feat: GROWI AI Next #9492

wants to merge 123 commits into from

Conversation

miya
Copy link
Member

@miya miya commented Dec 17, 2024

No description provided.

Copy link

changeset-bot bot commented Dec 17, 2024

⚠️ No Changeset found

Latest commit: 1ec1141

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

miya and others added 3 commits January 16, 2025 06:37
…creating-pecialized-vector-store

feat: Implement logic for creating specialized VectorStore

// check if the value is a grob pattern path
if (value.includes('*')) {
return isGrobPatternPath(value) && isCreatablePage(value.replace('*', ''));

Check failure

Code scanning / CodeQL

Incomplete string escaping or encoding High

This replaces only the first occurrence of '*'.

Copilot Autofix AI 5 days ago

To fix the problem, we need to ensure that all occurrences of the asterisk (*) in the value string are replaced. This can be achieved by using a regular expression with the global flag (g). This change ensures that all instances of the asterisk are replaced, not just the first one.

Suggested changeset 1
apps/app/src/features/openai/server/routes/ai-assistant.ts

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/apps/app/src/features/openai/server/routes/ai-assistant.ts b/apps/app/src/features/openai/server/routes/ai-assistant.ts
--- a/apps/app/src/features/openai/server/routes/ai-assistant.ts
+++ b/apps/app/src/features/openai/server/routes/ai-assistant.ts
@@ -66,3 +66,3 @@
         if (value.includes('*')) {
-          return isGrobPatternPath(value) && isCreatablePage(value.replace('*', ''));
+          return isGrobPatternPath(value) && isCreatablePage(value.replace(/\*/g, ''));
         }
EOF
@@ -66,3 +66,3 @@
if (value.includes('*')) {
return isGrobPatternPath(value) && isCreatablePage(value.replace('*', ''));
return isGrobPatternPath(value) && isCreatablePage(value.replace(/\*/g, ''));
}
Copilot is powered by AI and may make mistakes. Always verify output.
Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options
miya and others added 26 commits January 17, 2025 02:11
…-access-scope

feat: Condition for owners access scope
…-api-client-for-ai-assistant

feat: Implementation of an API client for AiAssistant
…ricted-page-exact-path

feat: Enable learning when a RESTRICTED page is accessed via its exact path
…or-create-ai-assistant

fix(ai): Query for createConditionForCreateAiAssistant
This reverts commit a770ebb, reversing
changes made to a62c1c6.
This reverts commit 6eb1da1, reversing
changes made to 5e0e337.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants