mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 07:09:07 +03:00
Address all comments
This commit is contained in:
1 parent
1509c43824
commit
c6b502cd37
4 files changed
+2
-10
No files matched your search
@@ -103,9 +103,6 @@ export const AiAssistantPanel = ({
|
||||
existingSql,
|
||||
entityDefinitions: entityDefinitions,
|
||||
},
|
||||
onError: (error) => {
|
||||
console.log('Boom: ', error)
|
||||
},
|
||||
})
|
||||
const messages = useMemo(() => {
|
||||
const merged = [...chatMessages.map((m) => ({ ...m, isDebug: false }))]
|
||||
|
||||
@@ -127,10 +127,6 @@ export const AIAssistant = ({
|
||||
projectRef: project?.ref,
|
||||
connectionString: project?.connectionString,
|
||||
},
|
||||
|
||||
onError: (error) => {
|
||||
console.log('error:', JSON.stringify(error))
|
||||
},
|
||||
})
|
||||
|
||||
const canUpdateOrganization = useCheckPermissions(PermissionAction.UPDATE, 'organizations')
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { databaseKeys } from 'data/database/keys'
|
||||
import { SupportedAssistantEntities } from './AIAssistant.types'
|
||||
|
||||
export const ASSISTANT_SUPPORT_ENTITIES: {
|
||||
|
||||
@@ -13,7 +13,7 @@ export enum TELEMETRY_VALUES {
|
||||
/**
|
||||
* Track whenever a prompt is submitted to the AI (excluding debug prompts)
|
||||
* @context AI Assistant V2
|
||||
* @purpose Indication of engagement with the feature, aid in prioritising efforts into the assistant itself
|
||||
* @purpose Indication of engagement with the feature, aid in prioritizing efforts into the assistant itself
|
||||
*/
|
||||
PROMPT_SUBMITTED = 'prompt-submitted',
|
||||
/**
|
||||
@@ -25,7 +25,7 @@ export enum TELEMETRY_VALUES {
|
||||
/**
|
||||
* Track running a SQL suggestion from AI Assistant
|
||||
* @context AI Assistant V2
|
||||
* @purpose Indication of usefulness of AI assistant response, aid in prioritising tweak of Assistant prompts to adjust output quality
|
||||
* @purpose Indication of usefulness of AI assistant response, aid in prioritizing tweak of Assistant prompts to adjust output quality
|
||||
* @details Broken down into "select" or "mutation", and for the latter further broken down to the type of query (e.g "functions" or "rls-policies", default to unknown otherwise)
|
||||
* */
|
||||
RAN_SQL_SUGGESTION = 'ran-sql-suggestion',
|
||||
|
||||
Reference in new issue
Block a user