From e75f34a0bcb4109ef93bca842f60b77241d57389 Mon Sep 17 00:00:00 2001 From: Gary Date: Wed, 18 Sep 2024 23:36:52 +0800 Subject: [PATCH] chore(artifact): clean up conversation (#250) Because we no longer need the conversation and message in artifact. This commit removes the conv/message api in artifact --- config/settings-env/endpoints.json | 112 ----------------------------- 1 file changed, 112 deletions(-) diff --git a/config/settings-env/endpoints.json b/config/settings-env/endpoints.json index bfe0d81..dc7fb06 100644 --- a/config/settings-env/endpoints.json +++ b/config/settings-env/endpoints.json @@ -2995,70 +2995,6 @@ "fileId", "fileUid" ] - }, - { - "endpoint": "/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/conversations", - "url_pattern": "/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/conversations", - "method": "POST", - "timeout": "30s", - "input_query_strings": [] - }, - { - "endpoint": "/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/conversations", - "url_pattern": "/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/conversations", - "method": "GET", - "timeout": "30s", - "input_query_strings": [ - "pageSize", - "pageToken" - ] - }, - { - "endpoint": "/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/conversations/{conversation_id}", - "url_pattern": "/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/conversations/{conversation_id}", - "method": "PUT", - "timeout": "30s", - "input_query_strings": [] - }, - { - "endpoint": "/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/conversations/{conversation_id}", - "url_pattern": "/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/conversations/{conversation_id}", - "method": "DELETE", - "timeout": "30s", - "input_query_strings": [] - }, - { - "endpoint": "/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/conversations/{conversation_id}/messages", - "url_pattern": "/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/conversations/{conversation_id}/messages", - "method": "POST", - "timeout": "30s", - "input_query_strings": [] - }, - { - "endpoint": "/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/conversations/{conversation_id}/messages", - "url_pattern": "/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/conversations/{conversation_id}/messages", - "method": "GET", - "timeout": "30s", - "input_query_strings": [ - "latestK", - "pageSize", - "pageToken", - "includeSystemMessages" - ] - }, - { - "endpoint": "/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/conversations/{conversation_id}/messages/{message_uid}", - "url_pattern": "/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/conversations/{conversation_id}/messages/{message_uid}", - "method": "PUT", - "timeout": "30s", - "input_query_strings": [] - }, - { - "endpoint": "/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/conversations/{conversation_id}/messages/{message_uid}", - "url_pattern": "/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/conversations/{conversation_id}/messages/{message_uid}", - "method": "DELETE", - "timeout": "30s", - "input_query_strings": [] } ], "grpc_auth": [ @@ -3145,54 +3081,6 @@ "url_pattern": "/artifact.artifact.v1alpha.ArtifactPublicService/GetFileCatalog", "method": "POST", "timeout": "30s" - }, - { - "endpoint": "/artifact.artifact.v1alpha.ArtifactPublicService/CreateConversation", - "url_pattern": "/artifact.artifact.v1alpha.ArtifactPublicService/CreateConversation", - "method": "POST", - "timeout": "30s" - }, - { - "endpoint": "/artifact.artifact.v1alpha.ArtifactPublicService/ListConversations", - "url_pattern": "/artifact.artifact.v1alpha.ArtifactPublicService/ListConversations", - "method": "POST", - "timeout": "30s" - }, - { - "endpoint": "/artifact.artifact.v1alpha.ArtifactPublicService/UpdateConversation", - "url_pattern": "/artifact.artifact.v1alpha.ArtifactPublicService/UpdateConversation", - "method": "POST", - "timeout": "30s" - }, - { - "endpoint": "/artifact.artifact.v1alpha.ArtifactPublicService/DeleteConversation", - "url_pattern": "/artifact.artifact.v1alpha.ArtifactPublicService/DeleteConversation", - "method": "POST", - "timeout": "30s" - }, - { - "endpoint": "/artifact.artifact.v1alpha.ArtifactPublicService/CreateMessage", - "url_pattern": "/artifact.artifact.v1alpha.ArtifactPublicService/CreateMessage", - "method": "POST", - "timeout": "30s" - }, - { - "endpoint": "/artifact.artifact.v1alpha.ArtifactPublicService/ListMessages", - "url_pattern": "/artifact.artifact.v1alpha.ArtifactPublicService/ListMessages", - "method": "POST", - "timeout": "30s" - }, - { - "endpoint": "/artifact.artifact.v1alpha.ArtifactPublicService/UpdateMessage", - "url_pattern": "/artifact.artifact.v1alpha.ArtifactPublicService/UpdateMessage", - "method": "POST", - "timeout": "30s" - }, - { - "endpoint": "/artifact.artifact.v1alpha.ArtifactPublicService/DeleteMessage", - "url_pattern": "/artifact.artifact.v1alpha.ArtifactPublicService/DeleteMessage", - "method": "POST", - "timeout": "30s" } ], "grpc_no_auth": [