diff --git a/answer_rocket/graphql/operations/copilots.gql b/answer_rocket/graphql/operations/copilots.gql index dc3214e..7c26fd8 100644 --- a/answer_rocket/graphql/operations/copilots.gql +++ b/answer_rocket/graphql/operations/copilots.gql @@ -58,6 +58,7 @@ query GetCopilotInfo($copilotId: UUID!, $usePublishedVersion: Boolean) { copilotId name description + landingPage systemPrompt betaYaml globalPythonCode @@ -73,6 +74,7 @@ query GetCopilots { copilotId name description + landingPage systemPrompt betaYaml globalPythonCode diff --git a/answer_rocket/graphql/schema.py b/answer_rocket/graphql/schema.py index 4642b5c..52d9d64 100644 --- a/answer_rocket/graphql/schema.py +++ b/answer_rocket/graphql/schema.py @@ -687,11 +687,11 @@ class MaxContentBlock(sgqlc.types.Type): class MaxCopilot(sgqlc.types.Type): __schema__ = schema - __field_names__ = ('copilot_id', 'name', 'description', 'description_text', 'system_prompt', 'beta_yaml', 'global_python_code', 'copilot_questions', 'connection_datasets', 'copilot_skill_ids', 'copilot_topics', 'database_id', 'dataset_id') + __field_names__ = ('copilot_id', 'name', 'description', 'landing_page', 'system_prompt', 'beta_yaml', 'global_python_code', 'copilot_questions', 'connection_datasets', 'copilot_skill_ids', 'copilot_topics', 'database_id', 'dataset_id') copilot_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='copilotId') name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name') description = sgqlc.types.Field(String, graphql_name='description') - description_text = sgqlc.types.Field(String, graphql_name='descriptionText') + landing_page = sgqlc.types.Field(String, graphql_name='landingPage') system_prompt = sgqlc.types.Field(String, graphql_name='systemPrompt') beta_yaml = sgqlc.types.Field(String, graphql_name='betaYaml') global_python_code = sgqlc.types.Field(String, graphql_name='globalPythonCode') diff --git a/answer_rocket/graphql/sdk_operations.py b/answer_rocket/graphql/sdk_operations.py index 7c812bb..6dec9a8 100644 --- a/answer_rocket/graphql/sdk_operations.py +++ b/answer_rocket/graphql/sdk_operations.py @@ -631,6 +631,7 @@ def query_get_copilot_info(): _op_get_copilot_info.copilot_id() _op_get_copilot_info.name() _op_get_copilot_info.description() + _op_get_copilot_info.landing_page() _op_get_copilot_info.system_prompt() _op_get_copilot_info.beta_yaml() _op_get_copilot_info.global_python_code() @@ -647,6 +648,7 @@ def query_get_copilots(): _op_get_copilots.copilot_id() _op_get_copilots.name() _op_get_copilots.description() + _op_get_copilots.landing_page() _op_get_copilots.system_prompt() _op_get_copilots.beta_yaml() _op_get_copilots.global_python_code()