langgraph-api 0.4.40__py3-none-any.whl → 0.5.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of langgraph-api might be problematic. Click here for more details.
- langgraph_api/__init__.py +1 -1
- langgraph_api/api/assistants.py +65 -61
- langgraph_api/api/meta.py +6 -0
- langgraph_api/api/threads.py +11 -7
- langgraph_api/auth/custom.py +29 -24
- langgraph_api/cli.py +2 -49
- langgraph_api/config.py +131 -16
- langgraph_api/graph.py +1 -1
- langgraph_api/grpc/client.py +183 -0
- langgraph_api/grpc/config_conversion.py +225 -0
- langgraph_api/grpc/generated/core_api_pb2.py +275 -0
- langgraph_api/{grpc_ops → grpc}/generated/core_api_pb2.pyi +35 -40
- langgraph_api/grpc/generated/engine_common_pb2.py +190 -0
- langgraph_api/grpc/generated/engine_common_pb2.pyi +634 -0
- langgraph_api/grpc/generated/engine_common_pb2_grpc.py +24 -0
- langgraph_api/grpc/ops.py +1045 -0
- langgraph_api/js/build.mts +1 -1
- langgraph_api/js/client.http.mts +1 -1
- langgraph_api/js/client.mts +1 -1
- langgraph_api/js/package.json +12 -12
- langgraph_api/js/src/graph.mts +20 -0
- langgraph_api/js/yarn.lock +176 -234
- langgraph_api/metadata.py +29 -21
- langgraph_api/queue_entrypoint.py +2 -2
- langgraph_api/route.py +14 -4
- langgraph_api/schema.py +2 -2
- langgraph_api/self_hosted_metrics.py +48 -2
- langgraph_api/serde.py +58 -14
- langgraph_api/server.py +16 -2
- langgraph_api/worker.py +1 -1
- {langgraph_api-0.4.40.dist-info → langgraph_api-0.5.6.dist-info}/METADATA +6 -6
- {langgraph_api-0.4.40.dist-info → langgraph_api-0.5.6.dist-info}/RECORD +38 -34
- langgraph_api/grpc_ops/client.py +0 -80
- langgraph_api/grpc_ops/generated/core_api_pb2.py +0 -274
- langgraph_api/grpc_ops/ops.py +0 -610
- /langgraph_api/{grpc_ops → grpc}/__init__.py +0 -0
- /langgraph_api/{grpc_ops → grpc}/generated/__init__.py +0 -0
- /langgraph_api/{grpc_ops → grpc}/generated/core_api_pb2_grpc.py +0 -0
- {langgraph_api-0.4.40.dist-info → langgraph_api-0.5.6.dist-info}/WHEEL +0 -0
- {langgraph_api-0.4.40.dist-info → langgraph_api-0.5.6.dist-info}/entry_points.txt +0 -0
- {langgraph_api-0.4.40.dist-info → langgraph_api-0.5.6.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: core-api.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'core-api.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
26
|
+
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
27
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
28
|
+
from . import engine_common_pb2 as engine__common__pb2
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0e\x63ore-api.proto\x12\x07\x63oreApi\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x13\x65ngine-common.proto\"\x16\n\x04Tags\x12\x0e\n\x06values\x18\x01 \x03(\t\"\x1d\n\x0c\x45qAuthFilter\x12\r\n\x05match\x18\x01 \x01(\t\"=\n\x12\x43ontainsAuthFilter\x12\'\n\x07matches\x18\x01 \x03(\x0b\x32\x16.google.protobuf.Value\"l\n\nAuthFilter\x12#\n\x02\x65q\x18\x01 \x01(\x0b\x32\x15.coreApi.EqAuthFilterH\x00\x12/\n\x08\x63ontains\x18\x02 \x01(\x0b\x32\x1b.coreApi.ContainsAuthFilterH\x00\x42\x08\n\x06\x66ilter\"\x15\n\x04UUID\x12\r\n\x05value\x18\x01 \x01(\t\"\x1e\n\rCountResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x04\"\x98\x03\n\tAssistant\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12\x10\n\x08graph_id\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\x04\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x06\x63onfig\x18\x06 \x01(\x0b\x32\".engineCommon.EngineRunnableConfigH\x00\x88\x01\x01\x12-\n\x07\x63ontext\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructH\x01\x88\x01\x01\x12.\n\x08metadata\x18\x08 \x01(\x0b\x32\x17.google.protobuf.StructH\x02\x88\x01\x01\x12\x0c\n\x04name\x18\t \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\n \x01(\tH\x03\x88\x01\x01\x42\t\n\x07_configB\n\n\x08_contextB\x0b\n\t_metadataB\x0e\n\x0c_description\"\xef\x02\n\x10\x41ssistantVersion\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12\x10\n\x08graph_id\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\x04\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x06\x63onfig\x18\x05 \x01(\x0b\x32\".engineCommon.EngineRunnableConfigH\x00\x88\x01\x01\x12-\n\x07\x63ontext\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructH\x01\x88\x01\x01\x12.\n\x08metadata\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructH\x02\x88\x01\x01\x12\x0c\n\x04name\x18\x08 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\t \x01(\tH\x03\x88\x01\x01\x42\t\n\x07_configB\n\n\x08_contextB\x0b\n\t_metadataB\x0e\n\x0c_description\"\xc7\x03\n\x16\x43reateAssistantRequest\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12\x10\n\x08graph_id\x18\x02 \x01(\t\x12=\n\x07\x66ilters\x18\x03 \x03(\x0b\x32,.coreApi.CreateAssistantRequest.FiltersEntry\x12.\n\tif_exists\x18\x04 \x01(\x0e\x32\x1b.coreApi.OnConflictBehavior\x12\x32\n\x06\x63onfig\x18\x05 \x01(\x0b\x32\".engineCommon.EngineRunnableConfig\x12(\n\x07\x63ontext\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0c\n\x04name\x18\x07 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x08 \x01(\tH\x00\x88\x01\x01\x12.\n\x08metadata\x18\t \x01(\x0b\x32\x17.google.protobuf.StructH\x01\x88\x01\x01\x1a\x43\n\x0c\x46iltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.AuthFilter:\x02\x38\x01\x42\x0e\n\x0c_descriptionB\x0b\n\t_metadata\"\xac\x01\n\x13GetAssistantRequest\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12:\n\x07\x66ilters\x18\x02 \x03(\x0b\x32).coreApi.GetAssistantRequest.FiltersEntry\x1a\x43\n\x0c\x46iltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.AuthFilter:\x02\x38\x01\"\xd6\x03\n\x15PatchAssistantRequest\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12<\n\x07\x66ilters\x18\x02 \x03(\x0b\x32+.coreApi.PatchAssistantRequest.FiltersEntry\x12\x15\n\x08graph_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x37\n\x06\x63onfig\x18\x04 \x01(\x0b\x32\".engineCommon.EngineRunnableConfigH\x01\x88\x01\x01\x12-\n\x07\x63ontext\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructH\x02\x88\x01\x01\x12\x11\n\x04name\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x07 \x01(\tH\x04\x88\x01\x01\x12.\n\x08metadata\x18\x08 \x01(\x0b\x32\x17.google.protobuf.StructH\x05\x88\x01\x01\x1a\x43\n\x0c\x46iltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.AuthFilter:\x02\x38\x01\x42\x0b\n\t_graph_idB\t\n\x07_configB\n\n\x08_contextB\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x0b\n\t_metadata\"\xb2\x01\n\x16\x44\x65leteAssistantRequest\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12=\n\x07\x66ilters\x18\x02 \x03(\x0b\x32,.coreApi.DeleteAssistantRequest.FiltersEntry\x1a\x43\n\x0c\x46iltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.AuthFilter:\x02\x38\x01\"1\n\x18\x44\x65leteAssistantsResponse\x12\x15\n\rassistant_ids\x18\x01 \x03(\t\"\xc9\x01\n\x19SetLatestAssistantRequest\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03\x12@\n\x07\x66ilters\x18\x03 \x03(\x0b\x32/.coreApi.SetLatestAssistantRequest.FiltersEntry\x1a\x43\n\x0c\x46iltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.AuthFilter:\x02\x38\x01\"\xc6\x03\n\x17SearchAssistantsRequest\x12>\n\x07\x66ilters\x18\x01 \x03(\x0b\x32-.coreApi.SearchAssistantsRequest.FiltersEntry\x12\x15\n\x08graph_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x12.\n\x08metadata\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructH\x01\x88\x01\x01\x12\x12\n\x05limit\x18\x04 \x01(\x04H\x02\x88\x01\x01\x12\x13\n\x06offset\x18\x05 \x01(\x04H\x03\x88\x01\x01\x12/\n\x07sort_by\x18\x06 \x01(\x0e\x32\x19.coreApi.AssistantsSortByH\x04\x88\x01\x01\x12+\n\nsort_order\x18\x07 \x01(\x0e\x32\x12.coreApi.SortOrderH\x05\x88\x01\x01\x12\x0e\n\x06select\x18\x08 \x03(\t\x1a\x43\n\x0c\x46iltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.AuthFilter:\x02\x38\x01\x42\x0b\n\t_graph_idB\x0b\n\t_metadataB\x08\n\x06_limitB\t\n\x07_offsetB\n\n\x08_sort_byB\r\n\x0b_sort_order\"B\n\x18SearchAssistantsResponse\x12&\n\nassistants\x18\x01 \x03(\x0b\x32\x12.coreApi.Assistant\"\xb7\x02\n\x1bGetAssistantVersionsRequest\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12\x42\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x31.coreApi.GetAssistantVersionsRequest.FiltersEntry\x12.\n\x08metadata\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x88\x01\x01\x12\x12\n\x05limit\x18\x04 \x01(\x04H\x01\x88\x01\x01\x12\x13\n\x06offset\x18\x05 \x01(\x04H\x02\x88\x01\x01\x1a\x43\n\x0c\x46iltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.AuthFilter:\x02\x38\x01\x42\x0b\n\t_metadataB\x08\n\x06_limitB\t\n\x07_offset\"K\n\x1cGetAssistantVersionsResponse\x12+\n\x08versions\x18\x01 \x03(\x0b\x32\x19.coreApi.AssistantVersion\"\xfd\x01\n\x16\x43ountAssistantsRequest\x12=\n\x07\x66ilters\x18\x01 \x03(\x0b\x32,.coreApi.CountAssistantsRequest.FiltersEntry\x12\x15\n\x08graph_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x12.\n\x08metadata\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructH\x01\x88\x01\x01\x1a\x43\n\x0c\x46iltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.AuthFilter:\x02\x38\x01\x42\x0b\n\t_graph_idB\x0b\n\t_metadata\"i\n\x0fTruncateRequest\x12\x0c\n\x04runs\x18\x01 \x01(\x08\x12\x0f\n\x07threads\x18\x02 \x01(\x08\x12\x12\n\nassistants\x18\x03 \x01(\x08\x12\x14\n\x0c\x63heckpointer\x18\x04 \x01(\x08\x12\r\n\x05store\x18\x05 \x01(\x08\"\xbb\x01\n\x0fThreadTTLConfig\x12\x31\n\x08strategy\x18\x01 \x01(\x0e\x32\x1a.coreApi.ThreadTTLStrategyH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65\x66\x61ult_ttl\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12#\n\x16sweep_interval_minutes\x18\x03 \x01(\x05H\x02\x88\x01\x01\x42\x0b\n\t_strategyB\x0e\n\x0c_default_ttlB\x19\n\x17_sweep_interval_minutes\"\x19\n\x08\x46ragment\x12\r\n\x05value\x18\x01 \x01(\x0c\"\xac\x01\n\x0e\x43heckpointTask\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x12\n\x05\x65rror\x18\x03 \x01(\tH\x00\x88\x01\x01\x12+\n\ninterrupts\x18\x04 \x03(\x0b\x32\x17.google.protobuf.Struct\x12+\n\x05state\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructH\x01\x88\x01\x01\x42\x08\n\x06_errorB\x08\n\x06_state\"\xd6\x01\n\x12\x43heckpointMetadata\x12.\n\x06source\x18\x01 \x01(\x0e\x32\x19.coreApi.CheckpointSourceH\x00\x88\x01\x01\x12\x11\n\x04step\x18\x02 \x01(\x04H\x01\x88\x01\x01\x12\x39\n\x07parents\x18\x03 \x03(\x0b\x32(.coreApi.CheckpointMetadata.ParentsEntry\x1a.\n\x0cParentsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07_sourceB\x07\n\x05_step\"\xb7\x02\n\x11\x43heckpointPayload\x12\x37\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\".engineCommon.EngineRunnableConfigH\x00\x88\x01\x01\x12-\n\x08metadata\x18\x02 \x01(\x0b\x32\x1b.coreApi.CheckpointMetadata\x12\'\n\x06values\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0c\n\x04next\x18\x04 \x03(\t\x12>\n\rparent_config\x18\x05 \x01(\x0b\x32\".engineCommon.EngineRunnableConfigH\x01\x88\x01\x01\x12&\n\x05tasks\x18\x06 \x03(\x0b\x32\x17.coreApi.CheckpointTaskB\t\n\x07_configB\x10\n\x0e_parent_config\"\x80\x01\n\tInterrupt\x12\x0f\n\x02id\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\r\n\x05value\x18\x02 \x01(\x0c\x12\x11\n\x04when\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x16\n\tresumable\x18\x04 \x01(\x08H\x02\x88\x01\x01\x12\n\n\x02ns\x18\x05 \x03(\tB\x05\n\x03_idB\x07\n\x05_whenB\x0c\n\n_resumable\"4\n\nInterrupts\x12&\n\ninterrupts\x18\x01 \x03(\x0b\x32\x12.coreApi.Interrupt\"\xbb\x03\n\x06Thread\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12#\n\x08metadata\x18\x04 \x01(\x0b\x32\x11.coreApi.Fragment\x12!\n\x06\x63onfig\x18\x05 \x01(\x0b\x32\x11.coreApi.Fragment\x12%\n\x06status\x18\x06 \x01(\x0e\x32\x15.coreApi.ThreadStatus\x12!\n\x06values\x18\x07 \x01(\x0b\x32\x11.coreApi.Fragment\x12\x33\n\ninterrupts\x18\x08 \x03(\x0b\x32\x1f.coreApi.Thread.InterruptsEntry\x12 \n\x05\x65rror\x18\t \x01(\x0b\x32\x11.coreApi.Fragment\x1a\x46\n\x0fInterruptsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.Interrupts:\x02\x38\x01\"\xd9\x02\n\x13\x43reateThreadRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12:\n\x07\x66ilters\x18\x02 \x03(\x0b\x32).coreApi.CreateThreadRequest.FiltersEntry\x12.\n\tif_exists\x18\x03 \x01(\x0e\x32\x1b.coreApi.OnConflictBehavior\x12.\n\x08metadata\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x88\x01\x01\x12*\n\x03ttl\x18\x05 \x01(\x0b\x32\x18.coreApi.ThreadTTLConfigH\x01\x88\x01\x01\x1a\x43\n\x0c\x46iltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.AuthFilter:\x02\x38\x01\x42\x0b\n\t_metadataB\x06\n\x04_ttl\"\xb2\x01\n\x10GetThreadRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x37\n\x07\x66ilters\x18\x02 \x03(\x0b\x32&.coreApi.GetThreadRequest.FiltersEntry\x1a\x43\n\x0c\x46iltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.AuthFilter:\x02\x38\x01\"\xa7\x02\n\x12PatchThreadRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x39\n\x07\x66ilters\x18\x02 \x03(\x0b\x32(.coreApi.PatchThreadRequest.FiltersEntry\x12.\n\x08metadata\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x88\x01\x01\x12*\n\x03ttl\x18\x04 \x01(\x0b\x32\x18.coreApi.ThreadTTLConfigH\x01\x88\x01\x01\x1a\x43\n\x0c\x46iltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.AuthFilter:\x02\x38\x01\x42\x0b\n\t_metadataB\x06\n\x04_ttl\"\xb8\x01\n\x13\x44\x65leteThreadRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12:\n\x07\x66ilters\x18\x02 \x03(\x0b\x32).coreApi.DeleteThreadRequest.FiltersEntry\x1a\x43\n\x0c\x46iltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.AuthFilter:\x02\x38\x01\"\xb4\x01\n\x11\x43opyThreadRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x38\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\'.coreApi.CopyThreadRequest.FiltersEntry\x1a\x43\n\x0c\x46iltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.AuthFilter:\x02\x38\x01\"\x89\x04\n\x14SearchThreadsRequest\x12;\n\x07\x66ilters\x18\x01 \x03(\x0b\x32*.coreApi.SearchThreadsRequest.FiltersEntry\x12.\n\x08metadata\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x88\x01\x01\x12,\n\x06values\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructH\x01\x88\x01\x01\x12*\n\x06status\x18\x04 \x01(\x0e\x32\x15.coreApi.ThreadStatusH\x02\x88\x01\x01\x12\x12\n\x05limit\x18\x05 \x01(\x04H\x03\x88\x01\x01\x12\x13\n\x06offset\x18\x06 \x01(\x04H\x04\x88\x01\x01\x12,\n\x07sort_by\x18\x07 \x01(\x0e\x32\x16.coreApi.ThreadsSortByH\x05\x88\x01\x01\x12+\n\nsort_order\x18\x08 \x01(\x0e\x32\x12.coreApi.SortOrderH\x06\x88\x01\x01\x12\x0e\n\x06select\x18\t \x03(\t\x1a\x43\n\x0c\x46iltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.AuthFilter:\x02\x38\x01\x42\x0b\n\t_metadataB\t\n\x07_valuesB\t\n\x07_statusB\x08\n\x06_limitB\t\n\x07_offsetB\n\n\x08_sort_byB\r\n\x0b_sort_order\"9\n\x15SearchThreadsResponse\x12 \n\x07threads\x18\x01 \x03(\x0b\x32\x0f.coreApi.Thread\"\xc3\x02\n\x13\x43ountThreadsRequest\x12:\n\x07\x66ilters\x18\x01 \x03(\x0b\x32).coreApi.CountThreadsRequest.FiltersEntry\x12.\n\x08metadata\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x88\x01\x01\x12,\n\x06values\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructH\x01\x88\x01\x01\x12*\n\x06status\x18\x04 \x01(\x0e\x32\x15.coreApi.ThreadStatusH\x02\x88\x01\x01\x1a\x43\n\x0c\x46iltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.AuthFilter:\x02\x38\x01\x42\x0b\n\t_metadataB\t\n\x07_valuesB\t\n\x07_status\";\n\x17SweepThreadsTTLResponse\x12\x0f\n\x07\x65xpired\x18\x01 \x01(\x04\x12\x0f\n\x07\x64\x65leted\x18\x02 \x01(\x04\"J\n\x16SweepThreadsTTLRequest\x12\x12\n\nbatch_size\x18\x01 \x01(\x04\x12\x12\n\x05limit\x18\x02 \x01(\x04H\x00\x88\x01\x01\x42\x08\n\x06_limit\"\x94\x02\n\x16SetThreadStatusRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12%\n\x06status\x18\x02 \x01(\x0e\x32\x15.coreApi.ThreadStatus\x12\x33\n\ncheckpoint\x18\x03 \x01(\x0b\x32\x1a.coreApi.CheckpointPayloadH\x00\x88\x01\x01\x12/\n\texception\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructH\x01\x88\x01\x01\x12.\n\x0f\x65xpected_status\x18\x05 \x03(\x0e\x32\x15.coreApi.ThreadStatusB\r\n\x0b_checkpointB\x0c\n\n_exception\"\x87\x02\n\x1bSetThreadJointStatusRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x1d\n\x06run_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUID\x12\x12\n\nrun_status\x18\x03 \x01(\t\x12\x10\n\x08graph_id\x18\x04 \x01(\t\x12\x33\n\ncheckpoint\x18\x05 \x01(\x0b\x32\x1a.coreApi.CheckpointPayloadH\x00\x88\x01\x01\x12/\n\texception\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructH\x01\x88\x01\x01\x42\r\n\x0b_checkpointB\x0c\n\n_exception\"\xec\x01\n\x14JointRollbackRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x1d\n\x06run_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUID\x12\x10\n\x08graph_id\x18\x03 \x01(\t\x12\x33\n\ncheckpoint\x18\x04 \x01(\x0b\x32\x1a.coreApi.CheckpointPayloadH\x00\x88\x01\x01\x12/\n\texception\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructH\x01\x88\x01\x01\x42\r\n\x0b_checkpointB\x0c\n\n_exception\"\xe2\x04\n\tRunKwargs\x12\x37\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\".engineCommon.EngineRunnableConfigH\x00\x88\x01\x01\x12-\n\x07\x63ontext\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructH\x01\x88\x01\x01\x12+\n\x05input\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructH\x02\x88\x01\x01\x12-\n\x07\x63ommand\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructH\x03\x88\x01\x01\x12(\n\x0bstream_mode\x18\x05 \x01(\x0e\x32\x13.coreApi.StreamMode\x12\x18\n\x10interrupt_before\x18\x06 \x03(\t\x12\x17\n\x0finterrupt_after\x18\x07 \x03(\t\x12\x14\n\x07webhook\x18\x08 \x01(\tH\x04\x88\x01\x01\x12\x15\n\rfeedback_keys\x18\t \x03(\t\x12\x16\n\ttemporary\x18\n \x01(\x08H\x05\x88\x01\x01\x12\x16\n\tsubgraphs\x18\x0b \x01(\x08H\x06\x88\x01\x01\x12\x16\n\tresumable\x18\x0c \x01(\x08H\x07\x88\x01\x01\x12\x1e\n\x11\x63heckpoint_during\x18\r \x01(\x08H\x08\x88\x01\x01\x12\x17\n\ndurability\x18\x0e \x01(\tH\t\x88\x01\x01\x42\t\n\x07_configB\n\n\x08_contextB\x08\n\x06_inputB\n\n\x08_commandB\n\n\x08_webhookB\x0c\n\n_temporaryB\x0c\n\n_subgraphsB\x0c\n\n_resumableB\x14\n\x12_checkpoint_duringB\r\n\x0b_durability\"\xf0\x02\n\x03Run\x12\x1d\n\x06run_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12 \n\tthread_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUID\x12#\n\x0c\x61ssistant_id\x18\x03 \x01(\x0b\x32\r.coreApi.UUID\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\"\n\x06status\x18\x06 \x01(\x0e\x32\x12.coreApi.RunStatus\x12#\n\x08metadata\x18\x07 \x01(\x0b\x32\x11.coreApi.Fragment\x12\"\n\x06kwargs\x18\x08 \x01(\x0b\x32\x12.coreApi.RunKwargs\x12\x36\n\x12multitask_strategy\x18\t \x01(\x0e\x32\x1a.coreApi.MultitaskStrategy\"\xd6\x01\n\nQueueStats\x12\x11\n\tn_pending\x18\x01 \x01(\x04\x12\x11\n\tn_running\x18\x02 \x01(\x04\x12,\n\x1fpending_runs_wait_time_max_secs\x18\x03 \x01(\x01H\x00\x88\x01\x01\x12,\n\x1fpending_runs_wait_time_med_secs\x18\x04 \x01(\x01H\x01\x88\x01\x01\x42\"\n _pending_runs_wait_time_max_secsB\"\n _pending_runs_wait_time_med_secs\"-\n\x0eNextRunRequest\x12\x0c\n\x04wait\x18\x01 \x01(\x08\x12\r\n\x05limit\x18\x02 \x01(\x04\"<\n\x0eRunWithAttempt\x12\x19\n\x03run\x18\x01 \x01(\x0b\x32\x0c.coreApi.Run\x12\x0f\n\x07\x61ttempt\x18\x02 \x01(\x04\"8\n\x0fNextRunResponse\x12%\n\x04runs\x18\x01 \x03(\x0b\x32\x17.coreApi.RunWithAttempt\"\xe9\x05\n\x10\x43reateRunRequest\x12#\n\x0c\x61ssistant_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\'\n\x06kwargs\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x37\n\x07\x66ilters\x18\x03 \x03(\x0b\x32&.coreApi.CreateRunRequest.FiltersEntry\x12%\n\tthread_id\x18\x04 \x01(\x0b\x32\r.coreApi.UUIDH\x00\x88\x01\x01\x12\x14\n\x07user_id\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\"\n\x06run_id\x18\x06 \x01(\x0b\x32\r.coreApi.UUIDH\x02\x88\x01\x01\x12\'\n\x06status\x18\x07 \x01(\x0e\x32\x12.coreApi.RunStatusH\x03\x88\x01\x01\x12.\n\x08metadata\x18\x08 \x01(\x0b\x32\x17.google.protobuf.StructH\x04\x88\x01\x01\x12\'\n\x1aprevent_insert_if_inflight\x18\t \x01(\x08H\x05\x88\x01\x01\x12;\n\x12multitask_strategy\x18\n \x01(\x0e\x32\x1a.coreApi.MultitaskStrategyH\x06\x88\x01\x01\x12\x36\n\rif_not_exists\x18\x0b \x01(\x0e\x32\x1a.coreApi.CreateRunBehaviorH\x07\x88\x01\x01\x12\x1a\n\rafter_seconds\x18\x0c \x01(\x04H\x08\x88\x01\x01\x1a\x43\n\x0c\x46iltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.AuthFilter:\x02\x38\x01\x42\x0c\n\n_thread_idB\n\n\x08_user_idB\t\n\x07_run_idB\t\n\x07_statusB\x0b\n\t_metadataB\x1d\n\x1b_prevent_insert_if_inflightB\x15\n\x13_multitask_strategyB\x10\n\x0e_if_not_existsB\x10\n\x0e_after_seconds\"\xcb\x01\n\rGetRunRequest\x12\x1d\n\x06run_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12 \n\tthread_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUID\x12\x34\n\x07\x66ilters\x18\x03 \x03(\x0b\x32#.coreApi.GetRunRequest.FiltersEntry\x1a\x43\n\x0c\x46iltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.AuthFilter:\x02\x38\x01\"\xd1\x01\n\x10\x44\x65leteRunRequest\x12\x1d\n\x06run_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12 \n\tthread_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUID\x12\x37\n\x07\x66ilters\x18\x03 \x03(\x0b\x32&.coreApi.DeleteRunRequest.FiltersEntry\x1a\x43\n\x0c\x46iltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.AuthFilter:\x02\x38\x01\"V\n\x12\x43\x61ncelRunIdsTarget\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x1e\n\x07run_ids\x18\x02 \x03(\x0b\x32\r.coreApi.UUID\">\n\x12\x43\x61ncelStatusTarget\x12(\n\x06status\x18\x01 \x01(\x0e\x32\x18.coreApi.CancelRunStatus\"\xb3\x02\n\x10\x43\x61ncelRunRequest\x12\x37\n\x07\x66ilters\x18\x01 \x03(\x0b\x32&.coreApi.CancelRunRequest.FiltersEntry\x12.\n\x07run_ids\x18\x02 \x01(\x0b\x32\x1b.coreApi.CancelRunIdsTargetH\x00\x12-\n\x06status\x18\x03 \x01(\x0b\x32\x1b.coreApi.CancelStatusTargetH\x00\x12-\n\x06\x61\x63tion\x18\x04 \x01(\x0e\x32\x18.coreApi.CancelRunActionH\x01\x88\x01\x01\x1a\x43\n\x0c\x46iltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.AuthFilter:\x02\x38\x01\x42\x08\n\x06targetB\t\n\x07_action\"\xb6\x02\n\x11SearchRunsRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x38\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\'.coreApi.SearchRunsRequest.FiltersEntry\x12\x12\n\x05limit\x18\x03 \x01(\x04H\x00\x88\x01\x01\x12\x13\n\x06offset\x18\x04 \x01(\x04H\x01\x88\x01\x01\x12\'\n\x06status\x18\x05 \x01(\x0e\x32\x12.coreApi.RunStatusH\x02\x88\x01\x01\x12\x0e\n\x06select\x18\x06 \x03(\t\x1a\x43\n\x0c\x46iltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.AuthFilter:\x02\x38\x01\x42\x08\n\x06_limitB\t\n\x07_offsetB\t\n\x07_status\"0\n\x12SearchRunsResponse\x12\x1a\n\x04runs\x18\x01 \x03(\x0b\x32\x0c.coreApi.Run\"X\n\x13SetRunStatusRequest\x12\x1d\n\x06run_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\"\n\x06status\x18\x02 \x01(\x0e\x32\x12.coreApi.RunStatus\"3\n\x11SweepRunsResponse\x12\x1e\n\x07run_ids\x18\x01 \x03(\x0b\x32\r.coreApi.UUID*/\n\x12OnConflictBehavior\x12\t\n\x05RAISE\x10\x00\x12\x0e\n\nDO_NOTHING\x10\x01*\x1e\n\tSortOrder\x12\x08\n\x04\x44\x45SC\x10\x00\x12\x07\n\x03\x41SC\x10\x01*m\n\x10\x41ssistantsSortBy\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x10\n\x0c\x41SSISTANT_ID\x10\x01\x12\x0c\n\x08GRAPH_ID\x10\x02\x12\x08\n\x04NAME\x10\x03\x12\x0e\n\nCREATED_AT\x10\x04\x12\x0e\n\nUPDATED_AT\x10\x05*v\n\x0cThreadStatus\x12\x16\n\x12THREAD_STATUS_IDLE\x10\x00\x12\x16\n\x12THREAD_STATUS_BUSY\x10\x01\x12\x1d\n\x19THREAD_STATUS_INTERRUPTED\x10\x02\x12\x17\n\x13THREAD_STATUS_ERROR\x10\x03*3\n\x11ThreadTTLStrategy\x12\x1e\n\x1aTHREAD_TTL_STRATEGY_DELETE\x10\x00*\xa8\x01\n\x10\x43heckpointSource\x12!\n\x1d\x43HECKPOINT_SOURCE_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x43HECKPOINT_SOURCE_INPUT\x10\x01\x12\x1a\n\x16\x43HECKPOINT_SOURCE_LOOP\x10\x02\x12\x1c\n\x18\x43HECKPOINT_SOURCE_UPDATE\x10\x03\x12\x1a\n\x16\x43HECKPOINT_SOURCE_FORK\x10\x04*\xab\x01\n\rThreadsSortBy\x12\x1f\n\x1bTHREADS_SORT_BY_UNSPECIFIED\x10\x00\x12\x1d\n\x19THREADS_SORT_BY_THREAD_ID\x10\x01\x12\x1e\n\x1aTHREADS_SORT_BY_CREATED_AT\x10\x02\x12\x1e\n\x1aTHREADS_SORT_BY_UPDATED_AT\x10\x03\x12\x1a\n\x16THREADS_SORT_BY_STATUS\x10\x04*\x9d\x01\n\tRunStatus\x12\x16\n\x12RUN_STATUS_PENDING\x10\x00\x12\x16\n\x12RUN_STATUS_RUNNING\x10\x01\x12\x14\n\x10RUN_STATUS_ERROR\x10\x02\x12\x16\n\x12RUN_STATUS_SUCCESS\x10\x03\x12\x16\n\x12RUN_STATUS_TIMEOUT\x10\x04\x12\x1a\n\x16RUN_STATUS_INTERRUPTED\x10\x05*\xb9\x01\n\x11MultitaskStrategy\x12\"\n\x1eMULTITASK_STRATEGY_UNSPECIFIED\x10\x00\x12\x1d\n\x19MULTITASK_STRATEGY_REJECT\x10\x01\x12\x1f\n\x1bMULTITASK_STRATEGY_ROLLBACK\x10\x02\x12 \n\x1cMULTITASK_STRATEGY_INTERRUPT\x10\x03\x12\x1e\n\x1aMULTITASK_STRATEGY_ENQUEUE\x10\x04*\xef\x01\n\nStreamMode\x12\x1b\n\x17STREAM_MODE_UNSPECIFIED\x10\x00\x12\x16\n\x12STREAM_MODE_VALUES\x10\x01\x12\x18\n\x14STREAM_MODE_MESSAGES\x10\x02\x12\x17\n\x13STREAM_MODE_UPDATES\x10\x03\x12\x16\n\x12STREAM_MODE_EVENTS\x10\x04\x12\x15\n\x11STREAM_MODE_DEBUG\x10\x05\x12\x15\n\x11STREAM_MODE_TASKS\x10\x06\x12\x1b\n\x17STREAM_MODE_CHECKPOINTS\x10\x07\x12\x16\n\x12STREAM_MODE_CUSTOM\x10\x08*`\n\x11\x43reateRunBehavior\x12#\n\x1fREJECT_RUN_IF_THREAD_NOT_EXISTS\x10\x00\x12&\n\"CREATE_THREAD_IF_THREAD_NOT_EXISTS\x10\x01*R\n\x0f\x43\x61ncelRunAction\x12\x1f\n\x1b\x43\x41NCEL_RUN_ACTION_INTERRUPT\x10\x00\x12\x1e\n\x1a\x43\x41NCEL_RUN_ACTION_ROLLBACK\x10\x01*j\n\x0f\x43\x61ncelRunStatus\x12\x1d\n\x19\x43\x41NCEL_RUN_STATUS_PENDING\x10\x00\x12\x1d\n\x19\x43\x41NCEL_RUN_STATUS_RUNNING\x10\x01\x12\x19\n\x15\x43\x41NCEL_RUN_STATUS_ALL\x10\x02\x32\xc1\x04\n\nAssistants\x12\x37\n\x03Get\x12\x1c.coreApi.GetAssistantRequest\x1a\x12.coreApi.Assistant\x12=\n\x06\x43reate\x12\x1f.coreApi.CreateAssistantRequest\x1a\x12.coreApi.Assistant\x12;\n\x05Patch\x12\x1e.coreApi.PatchAssistantRequest\x1a\x12.coreApi.Assistant\x12L\n\x06\x44\x65lete\x12\x1f.coreApi.DeleteAssistantRequest\x1a!.coreApi.DeleteAssistantsResponse\x12M\n\x06Search\x12 .coreApi.SearchAssistantsRequest\x1a!.coreApi.SearchAssistantsResponse\x12\x43\n\tSetLatest\x12\".coreApi.SetLatestAssistantRequest\x1a\x12.coreApi.Assistant\x12Z\n\x0bGetVersions\x12$.coreApi.GetAssistantVersionsRequest\x1a%.coreApi.GetAssistantVersionsResponse\x12@\n\x05\x43ount\x12\x1f.coreApi.CountAssistantsRequest\x1a\x16.coreApi.CountResponse2E\n\x05\x41\x64min\x12<\n\x08Truncate\x12\x18.coreApi.TruncateRequest\x1a\x16.google.protobuf.Empty2\xcd\x05\n\x07Threads\x12\x37\n\x06\x43reate\x12\x1c.coreApi.CreateThreadRequest\x1a\x0f.coreApi.Thread\x12\x31\n\x03Get\x12\x19.coreApi.GetThreadRequest\x1a\x0f.coreApi.Thread\x12\x35\n\x05Patch\x12\x1b.coreApi.PatchThreadRequest\x1a\x0f.coreApi.Thread\x12\x35\n\x06\x44\x65lete\x12\x1c.coreApi.DeleteThreadRequest\x1a\r.coreApi.UUID\x12G\n\x06Search\x12\x1d.coreApi.SearchThreadsRequest\x1a\x1e.coreApi.SearchThreadsResponse\x12=\n\x05\x43ount\x12\x1c.coreApi.CountThreadsRequest\x1a\x16.coreApi.CountResponse\x12\x33\n\x04\x43opy\x12\x1a.coreApi.CopyThreadRequest\x1a\x0f.coreApi.Thread\x12\x44\n\tSetStatus\x12\x1f.coreApi.SetThreadStatusRequest\x1a\x16.google.protobuf.Empty\x12N\n\x0eSetJointStatus\x12$.coreApi.SetThreadJointStatusRequest\x1a\x16.google.protobuf.Empty\x12\x46\n\rJointRollback\x12\x1d.coreApi.JointRollbackRequest\x1a\x16.google.protobuf.Empty\x12M\n\x08SweepTTL\x12\x1f.coreApi.SweepThreadsTTLRequest\x1a .coreApi.SweepThreadsTTLResponse2\x8b\x04\n\x04Runs\x12\x31\n\x06\x43reate\x12\x19.coreApi.CreateRunRequest\x1a\x0c.coreApi.Run\x12+\n\x03Get\x12\x16.coreApi.GetRunRequest\x1a\x0c.coreApi.Run\x12\x32\n\x06\x44\x65lete\x12\x19.coreApi.DeleteRunRequest\x1a\r.coreApi.UUID\x12\x41\n\x06Search\x12\x1a.coreApi.SearchRunsRequest\x1a\x1b.coreApi.SearchRunsResponse\x12;\n\x06\x43\x61ncel\x12\x19.coreApi.CancelRunRequest\x1a\x16.google.protobuf.Empty\x12\x41\n\tSetStatus\x12\x1c.coreApi.SetRunStatusRequest\x1a\x16.google.protobuf.Empty\x12\x34\n\x05Stats\x12\x16.google.protobuf.Empty\x1a\x13.coreApi.QueueStats\x12\x39\n\x04Next\x12\x17.coreApi.NextRunRequest\x1a\x18.coreApi.NextRunResponse\x12;\n\x05Sweep\x12\x16.google.protobuf.Empty\x1a\x1a.coreApi.SweepRunsResponseBAZ?github.com/langchain-ai/langgraph-api/core/internal/core-api/pbb\x06proto3')
|
|
32
|
+
|
|
33
|
+
_globals = globals()
|
|
34
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
35
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'core_api_pb2', _globals)
|
|
36
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
37
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
38
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z?github.com/langchain-ai/langgraph-api/core/internal/core-api/pb'
|
|
39
|
+
_globals['_CREATEASSISTANTREQUEST_FILTERSENTRY']._loaded_options = None
|
|
40
|
+
_globals['_CREATEASSISTANTREQUEST_FILTERSENTRY']._serialized_options = b'8\001'
|
|
41
|
+
_globals['_GETASSISTANTREQUEST_FILTERSENTRY']._loaded_options = None
|
|
42
|
+
_globals['_GETASSISTANTREQUEST_FILTERSENTRY']._serialized_options = b'8\001'
|
|
43
|
+
_globals['_PATCHASSISTANTREQUEST_FILTERSENTRY']._loaded_options = None
|
|
44
|
+
_globals['_PATCHASSISTANTREQUEST_FILTERSENTRY']._serialized_options = b'8\001'
|
|
45
|
+
_globals['_DELETEASSISTANTREQUEST_FILTERSENTRY']._loaded_options = None
|
|
46
|
+
_globals['_DELETEASSISTANTREQUEST_FILTERSENTRY']._serialized_options = b'8\001'
|
|
47
|
+
_globals['_SETLATESTASSISTANTREQUEST_FILTERSENTRY']._loaded_options = None
|
|
48
|
+
_globals['_SETLATESTASSISTANTREQUEST_FILTERSENTRY']._serialized_options = b'8\001'
|
|
49
|
+
_globals['_SEARCHASSISTANTSREQUEST_FILTERSENTRY']._loaded_options = None
|
|
50
|
+
_globals['_SEARCHASSISTANTSREQUEST_FILTERSENTRY']._serialized_options = b'8\001'
|
|
51
|
+
_globals['_GETASSISTANTVERSIONSREQUEST_FILTERSENTRY']._loaded_options = None
|
|
52
|
+
_globals['_GETASSISTANTVERSIONSREQUEST_FILTERSENTRY']._serialized_options = b'8\001'
|
|
53
|
+
_globals['_COUNTASSISTANTSREQUEST_FILTERSENTRY']._loaded_options = None
|
|
54
|
+
_globals['_COUNTASSISTANTSREQUEST_FILTERSENTRY']._serialized_options = b'8\001'
|
|
55
|
+
_globals['_CHECKPOINTMETADATA_PARENTSENTRY']._loaded_options = None
|
|
56
|
+
_globals['_CHECKPOINTMETADATA_PARENTSENTRY']._serialized_options = b'8\001'
|
|
57
|
+
_globals['_THREAD_INTERRUPTSENTRY']._loaded_options = None
|
|
58
|
+
_globals['_THREAD_INTERRUPTSENTRY']._serialized_options = b'8\001'
|
|
59
|
+
_globals['_CREATETHREADREQUEST_FILTERSENTRY']._loaded_options = None
|
|
60
|
+
_globals['_CREATETHREADREQUEST_FILTERSENTRY']._serialized_options = b'8\001'
|
|
61
|
+
_globals['_GETTHREADREQUEST_FILTERSENTRY']._loaded_options = None
|
|
62
|
+
_globals['_GETTHREADREQUEST_FILTERSENTRY']._serialized_options = b'8\001'
|
|
63
|
+
_globals['_PATCHTHREADREQUEST_FILTERSENTRY']._loaded_options = None
|
|
64
|
+
_globals['_PATCHTHREADREQUEST_FILTERSENTRY']._serialized_options = b'8\001'
|
|
65
|
+
_globals['_DELETETHREADREQUEST_FILTERSENTRY']._loaded_options = None
|
|
66
|
+
_globals['_DELETETHREADREQUEST_FILTERSENTRY']._serialized_options = b'8\001'
|
|
67
|
+
_globals['_COPYTHREADREQUEST_FILTERSENTRY']._loaded_options = None
|
|
68
|
+
_globals['_COPYTHREADREQUEST_FILTERSENTRY']._serialized_options = b'8\001'
|
|
69
|
+
_globals['_SEARCHTHREADSREQUEST_FILTERSENTRY']._loaded_options = None
|
|
70
|
+
_globals['_SEARCHTHREADSREQUEST_FILTERSENTRY']._serialized_options = b'8\001'
|
|
71
|
+
_globals['_COUNTTHREADSREQUEST_FILTERSENTRY']._loaded_options = None
|
|
72
|
+
_globals['_COUNTTHREADSREQUEST_FILTERSENTRY']._serialized_options = b'8\001'
|
|
73
|
+
_globals['_CREATERUNREQUEST_FILTERSENTRY']._loaded_options = None
|
|
74
|
+
_globals['_CREATERUNREQUEST_FILTERSENTRY']._serialized_options = b'8\001'
|
|
75
|
+
_globals['_GETRUNREQUEST_FILTERSENTRY']._loaded_options = None
|
|
76
|
+
_globals['_GETRUNREQUEST_FILTERSENTRY']._serialized_options = b'8\001'
|
|
77
|
+
_globals['_DELETERUNREQUEST_FILTERSENTRY']._loaded_options = None
|
|
78
|
+
_globals['_DELETERUNREQUEST_FILTERSENTRY']._serialized_options = b'8\001'
|
|
79
|
+
_globals['_CANCELRUNREQUEST_FILTERSENTRY']._loaded_options = None
|
|
80
|
+
_globals['_CANCELRUNREQUEST_FILTERSENTRY']._serialized_options = b'8\001'
|
|
81
|
+
_globals['_SEARCHRUNSREQUEST_FILTERSENTRY']._loaded_options = None
|
|
82
|
+
_globals['_SEARCHRUNSREQUEST_FILTERSENTRY']._serialized_options = b'8\001'
|
|
83
|
+
_globals['_ONCONFLICTBEHAVIOR']._serialized_start=12108
|
|
84
|
+
_globals['_ONCONFLICTBEHAVIOR']._serialized_end=12155
|
|
85
|
+
_globals['_SORTORDER']._serialized_start=12157
|
|
86
|
+
_globals['_SORTORDER']._serialized_end=12187
|
|
87
|
+
_globals['_ASSISTANTSSORTBY']._serialized_start=12189
|
|
88
|
+
_globals['_ASSISTANTSSORTBY']._serialized_end=12298
|
|
89
|
+
_globals['_THREADSTATUS']._serialized_start=12300
|
|
90
|
+
_globals['_THREADSTATUS']._serialized_end=12418
|
|
91
|
+
_globals['_THREADTTLSTRATEGY']._serialized_start=12420
|
|
92
|
+
_globals['_THREADTTLSTRATEGY']._serialized_end=12471
|
|
93
|
+
_globals['_CHECKPOINTSOURCE']._serialized_start=12474
|
|
94
|
+
_globals['_CHECKPOINTSOURCE']._serialized_end=12642
|
|
95
|
+
_globals['_THREADSSORTBY']._serialized_start=12645
|
|
96
|
+
_globals['_THREADSSORTBY']._serialized_end=12816
|
|
97
|
+
_globals['_RUNSTATUS']._serialized_start=12819
|
|
98
|
+
_globals['_RUNSTATUS']._serialized_end=12976
|
|
99
|
+
_globals['_MULTITASKSTRATEGY']._serialized_start=12979
|
|
100
|
+
_globals['_MULTITASKSTRATEGY']._serialized_end=13164
|
|
101
|
+
_globals['_STREAMMODE']._serialized_start=13167
|
|
102
|
+
_globals['_STREAMMODE']._serialized_end=13406
|
|
103
|
+
_globals['_CREATERUNBEHAVIOR']._serialized_start=13408
|
|
104
|
+
_globals['_CREATERUNBEHAVIOR']._serialized_end=13504
|
|
105
|
+
_globals['_CANCELRUNACTION']._serialized_start=13506
|
|
106
|
+
_globals['_CANCELRUNACTION']._serialized_end=13588
|
|
107
|
+
_globals['_CANCELRUNSTATUS']._serialized_start=13590
|
|
108
|
+
_globals['_CANCELRUNSTATUS']._serialized_end=13696
|
|
109
|
+
_globals['_TAGS']._serialized_start=140
|
|
110
|
+
_globals['_TAGS']._serialized_end=162
|
|
111
|
+
_globals['_EQAUTHFILTER']._serialized_start=164
|
|
112
|
+
_globals['_EQAUTHFILTER']._serialized_end=193
|
|
113
|
+
_globals['_CONTAINSAUTHFILTER']._serialized_start=195
|
|
114
|
+
_globals['_CONTAINSAUTHFILTER']._serialized_end=256
|
|
115
|
+
_globals['_AUTHFILTER']._serialized_start=258
|
|
116
|
+
_globals['_AUTHFILTER']._serialized_end=366
|
|
117
|
+
_globals['_UUID']._serialized_start=368
|
|
118
|
+
_globals['_UUID']._serialized_end=389
|
|
119
|
+
_globals['_COUNTRESPONSE']._serialized_start=391
|
|
120
|
+
_globals['_COUNTRESPONSE']._serialized_end=421
|
|
121
|
+
_globals['_ASSISTANT']._serialized_start=424
|
|
122
|
+
_globals['_ASSISTANT']._serialized_end=832
|
|
123
|
+
_globals['_ASSISTANTVERSION']._serialized_start=835
|
|
124
|
+
_globals['_ASSISTANTVERSION']._serialized_end=1202
|
|
125
|
+
_globals['_CREATEASSISTANTREQUEST']._serialized_start=1205
|
|
126
|
+
_globals['_CREATEASSISTANTREQUEST']._serialized_end=1660
|
|
127
|
+
_globals['_CREATEASSISTANTREQUEST_FILTERSENTRY']._serialized_start=1564
|
|
128
|
+
_globals['_CREATEASSISTANTREQUEST_FILTERSENTRY']._serialized_end=1631
|
|
129
|
+
_globals['_GETASSISTANTREQUEST']._serialized_start=1663
|
|
130
|
+
_globals['_GETASSISTANTREQUEST']._serialized_end=1835
|
|
131
|
+
_globals['_GETASSISTANTREQUEST_FILTERSENTRY']._serialized_start=1564
|
|
132
|
+
_globals['_GETASSISTANTREQUEST_FILTERSENTRY']._serialized_end=1631
|
|
133
|
+
_globals['_PATCHASSISTANTREQUEST']._serialized_start=1838
|
|
134
|
+
_globals['_PATCHASSISTANTREQUEST']._serialized_end=2308
|
|
135
|
+
_globals['_PATCHASSISTANTREQUEST_FILTERSENTRY']._serialized_start=1564
|
|
136
|
+
_globals['_PATCHASSISTANTREQUEST_FILTERSENTRY']._serialized_end=1631
|
|
137
|
+
_globals['_DELETEASSISTANTREQUEST']._serialized_start=2311
|
|
138
|
+
_globals['_DELETEASSISTANTREQUEST']._serialized_end=2489
|
|
139
|
+
_globals['_DELETEASSISTANTREQUEST_FILTERSENTRY']._serialized_start=1564
|
|
140
|
+
_globals['_DELETEASSISTANTREQUEST_FILTERSENTRY']._serialized_end=1631
|
|
141
|
+
_globals['_DELETEASSISTANTSRESPONSE']._serialized_start=2491
|
|
142
|
+
_globals['_DELETEASSISTANTSRESPONSE']._serialized_end=2540
|
|
143
|
+
_globals['_SETLATESTASSISTANTREQUEST']._serialized_start=2543
|
|
144
|
+
_globals['_SETLATESTASSISTANTREQUEST']._serialized_end=2744
|
|
145
|
+
_globals['_SETLATESTASSISTANTREQUEST_FILTERSENTRY']._serialized_start=1564
|
|
146
|
+
_globals['_SETLATESTASSISTANTREQUEST_FILTERSENTRY']._serialized_end=1631
|
|
147
|
+
_globals['_SEARCHASSISTANTSREQUEST']._serialized_start=2747
|
|
148
|
+
_globals['_SEARCHASSISTANTSREQUEST']._serialized_end=3201
|
|
149
|
+
_globals['_SEARCHASSISTANTSREQUEST_FILTERSENTRY']._serialized_start=1564
|
|
150
|
+
_globals['_SEARCHASSISTANTSREQUEST_FILTERSENTRY']._serialized_end=1631
|
|
151
|
+
_globals['_SEARCHASSISTANTSRESPONSE']._serialized_start=3203
|
|
152
|
+
_globals['_SEARCHASSISTANTSRESPONSE']._serialized_end=3269
|
|
153
|
+
_globals['_GETASSISTANTVERSIONSREQUEST']._serialized_start=3272
|
|
154
|
+
_globals['_GETASSISTANTVERSIONSREQUEST']._serialized_end=3583
|
|
155
|
+
_globals['_GETASSISTANTVERSIONSREQUEST_FILTERSENTRY']._serialized_start=1564
|
|
156
|
+
_globals['_GETASSISTANTVERSIONSREQUEST_FILTERSENTRY']._serialized_end=1631
|
|
157
|
+
_globals['_GETASSISTANTVERSIONSRESPONSE']._serialized_start=3585
|
|
158
|
+
_globals['_GETASSISTANTVERSIONSRESPONSE']._serialized_end=3660
|
|
159
|
+
_globals['_COUNTASSISTANTSREQUEST']._serialized_start=3663
|
|
160
|
+
_globals['_COUNTASSISTANTSREQUEST']._serialized_end=3916
|
|
161
|
+
_globals['_COUNTASSISTANTSREQUEST_FILTERSENTRY']._serialized_start=1564
|
|
162
|
+
_globals['_COUNTASSISTANTSREQUEST_FILTERSENTRY']._serialized_end=1631
|
|
163
|
+
_globals['_TRUNCATEREQUEST']._serialized_start=3918
|
|
164
|
+
_globals['_TRUNCATEREQUEST']._serialized_end=4023
|
|
165
|
+
_globals['_THREADTTLCONFIG']._serialized_start=4026
|
|
166
|
+
_globals['_THREADTTLCONFIG']._serialized_end=4213
|
|
167
|
+
_globals['_FRAGMENT']._serialized_start=4215
|
|
168
|
+
_globals['_FRAGMENT']._serialized_end=4240
|
|
169
|
+
_globals['_CHECKPOINTTASK']._serialized_start=4243
|
|
170
|
+
_globals['_CHECKPOINTTASK']._serialized_end=4415
|
|
171
|
+
_globals['_CHECKPOINTMETADATA']._serialized_start=4418
|
|
172
|
+
_globals['_CHECKPOINTMETADATA']._serialized_end=4632
|
|
173
|
+
_globals['_CHECKPOINTMETADATA_PARENTSENTRY']._serialized_start=4566
|
|
174
|
+
_globals['_CHECKPOINTMETADATA_PARENTSENTRY']._serialized_end=4612
|
|
175
|
+
_globals['_CHECKPOINTPAYLOAD']._serialized_start=4635
|
|
176
|
+
_globals['_CHECKPOINTPAYLOAD']._serialized_end=4946
|
|
177
|
+
_globals['_INTERRUPT']._serialized_start=4949
|
|
178
|
+
_globals['_INTERRUPT']._serialized_end=5077
|
|
179
|
+
_globals['_INTERRUPTS']._serialized_start=5079
|
|
180
|
+
_globals['_INTERRUPTS']._serialized_end=5131
|
|
181
|
+
_globals['_THREAD']._serialized_start=5134
|
|
182
|
+
_globals['_THREAD']._serialized_end=5577
|
|
183
|
+
_globals['_THREAD_INTERRUPTSENTRY']._serialized_start=5507
|
|
184
|
+
_globals['_THREAD_INTERRUPTSENTRY']._serialized_end=5577
|
|
185
|
+
_globals['_CREATETHREADREQUEST']._serialized_start=5580
|
|
186
|
+
_globals['_CREATETHREADREQUEST']._serialized_end=5925
|
|
187
|
+
_globals['_CREATETHREADREQUEST_FILTERSENTRY']._serialized_start=1564
|
|
188
|
+
_globals['_CREATETHREADREQUEST_FILTERSENTRY']._serialized_end=1631
|
|
189
|
+
_globals['_GETTHREADREQUEST']._serialized_start=5928
|
|
190
|
+
_globals['_GETTHREADREQUEST']._serialized_end=6106
|
|
191
|
+
_globals['_GETTHREADREQUEST_FILTERSENTRY']._serialized_start=1564
|
|
192
|
+
_globals['_GETTHREADREQUEST_FILTERSENTRY']._serialized_end=1631
|
|
193
|
+
_globals['_PATCHTHREADREQUEST']._serialized_start=6109
|
|
194
|
+
_globals['_PATCHTHREADREQUEST']._serialized_end=6404
|
|
195
|
+
_globals['_PATCHTHREADREQUEST_FILTERSENTRY']._serialized_start=1564
|
|
196
|
+
_globals['_PATCHTHREADREQUEST_FILTERSENTRY']._serialized_end=1631
|
|
197
|
+
_globals['_DELETETHREADREQUEST']._serialized_start=6407
|
|
198
|
+
_globals['_DELETETHREADREQUEST']._serialized_end=6591
|
|
199
|
+
_globals['_DELETETHREADREQUEST_FILTERSENTRY']._serialized_start=1564
|
|
200
|
+
_globals['_DELETETHREADREQUEST_FILTERSENTRY']._serialized_end=1631
|
|
201
|
+
_globals['_COPYTHREADREQUEST']._serialized_start=6594
|
|
202
|
+
_globals['_COPYTHREADREQUEST']._serialized_end=6774
|
|
203
|
+
_globals['_COPYTHREADREQUEST_FILTERSENTRY']._serialized_start=1564
|
|
204
|
+
_globals['_COPYTHREADREQUEST_FILTERSENTRY']._serialized_end=1631
|
|
205
|
+
_globals['_SEARCHTHREADSREQUEST']._serialized_start=6777
|
|
206
|
+
_globals['_SEARCHTHREADSREQUEST']._serialized_end=7298
|
|
207
|
+
_globals['_SEARCHTHREADSREQUEST_FILTERSENTRY']._serialized_start=1564
|
|
208
|
+
_globals['_SEARCHTHREADSREQUEST_FILTERSENTRY']._serialized_end=1631
|
|
209
|
+
_globals['_SEARCHTHREADSRESPONSE']._serialized_start=7300
|
|
210
|
+
_globals['_SEARCHTHREADSRESPONSE']._serialized_end=7357
|
|
211
|
+
_globals['_COUNTTHREADSREQUEST']._serialized_start=7360
|
|
212
|
+
_globals['_COUNTTHREADSREQUEST']._serialized_end=7683
|
|
213
|
+
_globals['_COUNTTHREADSREQUEST_FILTERSENTRY']._serialized_start=1564
|
|
214
|
+
_globals['_COUNTTHREADSREQUEST_FILTERSENTRY']._serialized_end=1631
|
|
215
|
+
_globals['_SWEEPTHREADSTTLRESPONSE']._serialized_start=7685
|
|
216
|
+
_globals['_SWEEPTHREADSTTLRESPONSE']._serialized_end=7744
|
|
217
|
+
_globals['_SWEEPTHREADSTTLREQUEST']._serialized_start=7746
|
|
218
|
+
_globals['_SWEEPTHREADSTTLREQUEST']._serialized_end=7820
|
|
219
|
+
_globals['_SETTHREADSTATUSREQUEST']._serialized_start=7823
|
|
220
|
+
_globals['_SETTHREADSTATUSREQUEST']._serialized_end=8099
|
|
221
|
+
_globals['_SETTHREADJOINTSTATUSREQUEST']._serialized_start=8102
|
|
222
|
+
_globals['_SETTHREADJOINTSTATUSREQUEST']._serialized_end=8365
|
|
223
|
+
_globals['_JOINTROLLBACKREQUEST']._serialized_start=8368
|
|
224
|
+
_globals['_JOINTROLLBACKREQUEST']._serialized_end=8604
|
|
225
|
+
_globals['_RUNKWARGS']._serialized_start=8607
|
|
226
|
+
_globals['_RUNKWARGS']._serialized_end=9217
|
|
227
|
+
_globals['_RUN']._serialized_start=9220
|
|
228
|
+
_globals['_RUN']._serialized_end=9588
|
|
229
|
+
_globals['_QUEUESTATS']._serialized_start=9591
|
|
230
|
+
_globals['_QUEUESTATS']._serialized_end=9805
|
|
231
|
+
_globals['_NEXTRUNREQUEST']._serialized_start=9807
|
|
232
|
+
_globals['_NEXTRUNREQUEST']._serialized_end=9852
|
|
233
|
+
_globals['_RUNWITHATTEMPT']._serialized_start=9854
|
|
234
|
+
_globals['_RUNWITHATTEMPT']._serialized_end=9914
|
|
235
|
+
_globals['_NEXTRUNRESPONSE']._serialized_start=9916
|
|
236
|
+
_globals['_NEXTRUNRESPONSE']._serialized_end=9972
|
|
237
|
+
_globals['_CREATERUNREQUEST']._serialized_start=9975
|
|
238
|
+
_globals['_CREATERUNREQUEST']._serialized_end=10720
|
|
239
|
+
_globals['_CREATERUNREQUEST_FILTERSENTRY']._serialized_start=1564
|
|
240
|
+
_globals['_CREATERUNREQUEST_FILTERSENTRY']._serialized_end=1631
|
|
241
|
+
_globals['_GETRUNREQUEST']._serialized_start=10723
|
|
242
|
+
_globals['_GETRUNREQUEST']._serialized_end=10926
|
|
243
|
+
_globals['_GETRUNREQUEST_FILTERSENTRY']._serialized_start=1564
|
|
244
|
+
_globals['_GETRUNREQUEST_FILTERSENTRY']._serialized_end=1631
|
|
245
|
+
_globals['_DELETERUNREQUEST']._serialized_start=10929
|
|
246
|
+
_globals['_DELETERUNREQUEST']._serialized_end=11138
|
|
247
|
+
_globals['_DELETERUNREQUEST_FILTERSENTRY']._serialized_start=1564
|
|
248
|
+
_globals['_DELETERUNREQUEST_FILTERSENTRY']._serialized_end=1631
|
|
249
|
+
_globals['_CANCELRUNIDSTARGET']._serialized_start=11140
|
|
250
|
+
_globals['_CANCELRUNIDSTARGET']._serialized_end=11226
|
|
251
|
+
_globals['_CANCELSTATUSTARGET']._serialized_start=11228
|
|
252
|
+
_globals['_CANCELSTATUSTARGET']._serialized_end=11290
|
|
253
|
+
_globals['_CANCELRUNREQUEST']._serialized_start=11293
|
|
254
|
+
_globals['_CANCELRUNREQUEST']._serialized_end=11600
|
|
255
|
+
_globals['_CANCELRUNREQUEST_FILTERSENTRY']._serialized_start=1564
|
|
256
|
+
_globals['_CANCELRUNREQUEST_FILTERSENTRY']._serialized_end=1631
|
|
257
|
+
_globals['_SEARCHRUNSREQUEST']._serialized_start=11603
|
|
258
|
+
_globals['_SEARCHRUNSREQUEST']._serialized_end=11913
|
|
259
|
+
_globals['_SEARCHRUNSREQUEST_FILTERSENTRY']._serialized_start=1564
|
|
260
|
+
_globals['_SEARCHRUNSREQUEST_FILTERSENTRY']._serialized_end=1631
|
|
261
|
+
_globals['_SEARCHRUNSRESPONSE']._serialized_start=11915
|
|
262
|
+
_globals['_SEARCHRUNSRESPONSE']._serialized_end=11963
|
|
263
|
+
_globals['_SETRUNSTATUSREQUEST']._serialized_start=11965
|
|
264
|
+
_globals['_SETRUNSTATUSREQUEST']._serialized_end=12053
|
|
265
|
+
_globals['_SWEEPRUNSRESPONSE']._serialized_start=12055
|
|
266
|
+
_globals['_SWEEPRUNSRESPONSE']._serialized_end=12106
|
|
267
|
+
_globals['_ASSISTANTS']._serialized_start=13699
|
|
268
|
+
_globals['_ASSISTANTS']._serialized_end=14276
|
|
269
|
+
_globals['_ADMIN']._serialized_start=14278
|
|
270
|
+
_globals['_ADMIN']._serialized_end=14347
|
|
271
|
+
_globals['_THREADS']._serialized_start=14350
|
|
272
|
+
_globals['_THREADS']._serialized_end=15067
|
|
273
|
+
_globals['_RUNS']._serialized_start=15070
|
|
274
|
+
_globals['_RUNS']._serialized_end=15593
|
|
275
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -3,6 +3,7 @@ import datetime
|
|
|
3
3
|
from google.protobuf import empty_pb2 as _empty_pb2
|
|
4
4
|
from google.protobuf import struct_pb2 as _struct_pb2
|
|
5
5
|
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
6
|
+
from . import engine_common_pb2 as _engine_common_pb2
|
|
6
7
|
from google.protobuf.internal import containers as _containers
|
|
7
8
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
8
9
|
from google.protobuf import descriptor as _descriptor
|
|
@@ -155,17 +156,11 @@ CANCEL_RUN_STATUS_PENDING: CancelRunStatus
|
|
|
155
156
|
CANCEL_RUN_STATUS_RUNNING: CancelRunStatus
|
|
156
157
|
CANCEL_RUN_STATUS_ALL: CancelRunStatus
|
|
157
158
|
|
|
158
|
-
class
|
|
159
|
-
__slots__ = ("
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
EXTRA_FIELD_NUMBER: _ClassVar[int]
|
|
164
|
-
tags: _containers.RepeatedScalarFieldContainer[str]
|
|
165
|
-
recursion_limit: int
|
|
166
|
-
configurable: _struct_pb2.Struct
|
|
167
|
-
extra: bytes
|
|
168
|
-
def __init__(self, tags: _Optional[_Iterable[str]] = ..., recursion_limit: _Optional[int] = ..., configurable: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., extra: _Optional[bytes] = ...) -> None: ...
|
|
159
|
+
class Tags(_message.Message):
|
|
160
|
+
__slots__ = ("values",)
|
|
161
|
+
VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
162
|
+
values: _containers.RepeatedScalarFieldContainer[str]
|
|
163
|
+
def __init__(self, values: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
169
164
|
|
|
170
165
|
class EqAuthFilter(_message.Message):
|
|
171
166
|
__slots__ = ("match",)
|
|
@@ -216,12 +211,12 @@ class Assistant(_message.Message):
|
|
|
216
211
|
version: int
|
|
217
212
|
created_at: _timestamp_pb2.Timestamp
|
|
218
213
|
updated_at: _timestamp_pb2.Timestamp
|
|
219
|
-
config:
|
|
214
|
+
config: _engine_common_pb2.EngineRunnableConfig
|
|
220
215
|
context: _struct_pb2.Struct
|
|
221
216
|
metadata: _struct_pb2.Struct
|
|
222
217
|
name: str
|
|
223
218
|
description: str
|
|
224
|
-
def __init__(self, assistant_id: _Optional[str] = ..., graph_id: _Optional[str] = ..., version: _Optional[int] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., config: _Optional[_Union[
|
|
219
|
+
def __init__(self, assistant_id: _Optional[str] = ..., graph_id: _Optional[str] = ..., version: _Optional[int] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., config: _Optional[_Union[_engine_common_pb2.EngineRunnableConfig, _Mapping]] = ..., context: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., metadata: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., name: _Optional[str] = ..., description: _Optional[str] = ...) -> None: ...
|
|
225
220
|
|
|
226
221
|
class AssistantVersion(_message.Message):
|
|
227
222
|
__slots__ = ("assistant_id", "graph_id", "version", "created_at", "config", "context", "metadata", "name", "description")
|
|
@@ -238,12 +233,12 @@ class AssistantVersion(_message.Message):
|
|
|
238
233
|
graph_id: str
|
|
239
234
|
version: int
|
|
240
235
|
created_at: _timestamp_pb2.Timestamp
|
|
241
|
-
config:
|
|
236
|
+
config: _engine_common_pb2.EngineRunnableConfig
|
|
242
237
|
context: _struct_pb2.Struct
|
|
243
238
|
metadata: _struct_pb2.Struct
|
|
244
239
|
name: str
|
|
245
240
|
description: str
|
|
246
|
-
def __init__(self, assistant_id: _Optional[str] = ..., graph_id: _Optional[str] = ..., version: _Optional[int] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., config: _Optional[_Union[
|
|
241
|
+
def __init__(self, assistant_id: _Optional[str] = ..., graph_id: _Optional[str] = ..., version: _Optional[int] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., config: _Optional[_Union[_engine_common_pb2.EngineRunnableConfig, _Mapping]] = ..., context: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., metadata: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., name: _Optional[str] = ..., description: _Optional[str] = ...) -> None: ...
|
|
247
242
|
|
|
248
243
|
class CreateAssistantRequest(_message.Message):
|
|
249
244
|
__slots__ = ("assistant_id", "graph_id", "filters", "if_exists", "config", "context", "name", "description", "metadata")
|
|
@@ -267,12 +262,12 @@ class CreateAssistantRequest(_message.Message):
|
|
|
267
262
|
graph_id: str
|
|
268
263
|
filters: _containers.MessageMap[str, AuthFilter]
|
|
269
264
|
if_exists: OnConflictBehavior
|
|
270
|
-
config:
|
|
265
|
+
config: _engine_common_pb2.EngineRunnableConfig
|
|
271
266
|
context: _struct_pb2.Struct
|
|
272
267
|
name: str
|
|
273
268
|
description: str
|
|
274
269
|
metadata: _struct_pb2.Struct
|
|
275
|
-
def __init__(self, assistant_id: _Optional[str] = ..., graph_id: _Optional[str] = ..., filters: _Optional[_Mapping[str, AuthFilter]] = ..., if_exists: _Optional[_Union[OnConflictBehavior, str]] = ..., config: _Optional[_Union[
|
|
270
|
+
def __init__(self, assistant_id: _Optional[str] = ..., graph_id: _Optional[str] = ..., filters: _Optional[_Mapping[str, AuthFilter]] = ..., if_exists: _Optional[_Union[OnConflictBehavior, str]] = ..., config: _Optional[_Union[_engine_common_pb2.EngineRunnableConfig, _Mapping]] = ..., context: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., metadata: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
|
|
276
271
|
|
|
277
272
|
class GetAssistantRequest(_message.Message):
|
|
278
273
|
__slots__ = ("assistant_id", "filters")
|
|
@@ -309,12 +304,12 @@ class PatchAssistantRequest(_message.Message):
|
|
|
309
304
|
assistant_id: str
|
|
310
305
|
filters: _containers.MessageMap[str, AuthFilter]
|
|
311
306
|
graph_id: str
|
|
312
|
-
config:
|
|
307
|
+
config: _engine_common_pb2.EngineRunnableConfig
|
|
313
308
|
context: _struct_pb2.Struct
|
|
314
309
|
name: str
|
|
315
310
|
description: str
|
|
316
311
|
metadata: _struct_pb2.Struct
|
|
317
|
-
def __init__(self, assistant_id: _Optional[str] = ..., filters: _Optional[_Mapping[str, AuthFilter]] = ..., graph_id: _Optional[str] = ..., config: _Optional[_Union[
|
|
312
|
+
def __init__(self, assistant_id: _Optional[str] = ..., filters: _Optional[_Mapping[str, AuthFilter]] = ..., graph_id: _Optional[str] = ..., config: _Optional[_Union[_engine_common_pb2.EngineRunnableConfig, _Mapping]] = ..., context: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., metadata: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
|
|
318
313
|
|
|
319
314
|
class DeleteAssistantRequest(_message.Message):
|
|
320
315
|
__slots__ = ("assistant_id", "filters")
|
|
@@ -500,13 +495,13 @@ class CheckpointPayload(_message.Message):
|
|
|
500
495
|
NEXT_FIELD_NUMBER: _ClassVar[int]
|
|
501
496
|
PARENT_CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
502
497
|
TASKS_FIELD_NUMBER: _ClassVar[int]
|
|
503
|
-
config:
|
|
498
|
+
config: _engine_common_pb2.EngineRunnableConfig
|
|
504
499
|
metadata: CheckpointMetadata
|
|
505
500
|
values: _struct_pb2.Struct
|
|
506
501
|
next: _containers.RepeatedScalarFieldContainer[str]
|
|
507
|
-
parent_config:
|
|
502
|
+
parent_config: _engine_common_pb2.EngineRunnableConfig
|
|
508
503
|
tasks: _containers.RepeatedCompositeFieldContainer[CheckpointTask]
|
|
509
|
-
def __init__(self, config: _Optional[_Union[
|
|
504
|
+
def __init__(self, config: _Optional[_Union[_engine_common_pb2.EngineRunnableConfig, _Mapping]] = ..., metadata: _Optional[_Union[CheckpointMetadata, _Mapping]] = ..., values: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., next: _Optional[_Iterable[str]] = ..., parent_config: _Optional[_Union[_engine_common_pb2.EngineRunnableConfig, _Mapping]] = ..., tasks: _Optional[_Iterable[_Union[CheckpointTask, _Mapping]]] = ...) -> None: ...
|
|
510
505
|
|
|
511
506
|
class Interrupt(_message.Message):
|
|
512
507
|
__slots__ = ("id", "value", "when", "resumable", "ns")
|
|
@@ -516,11 +511,11 @@ class Interrupt(_message.Message):
|
|
|
516
511
|
RESUMABLE_FIELD_NUMBER: _ClassVar[int]
|
|
517
512
|
NS_FIELD_NUMBER: _ClassVar[int]
|
|
518
513
|
id: str
|
|
519
|
-
value:
|
|
514
|
+
value: bytes
|
|
520
515
|
when: str
|
|
521
516
|
resumable: bool
|
|
522
517
|
ns: _containers.RepeatedScalarFieldContainer[str]
|
|
523
|
-
def __init__(self, id: _Optional[str] = ..., value: _Optional[
|
|
518
|
+
def __init__(self, id: _Optional[str] = ..., value: _Optional[bytes] = ..., when: _Optional[str] = ..., resumable: bool = ..., ns: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
524
519
|
|
|
525
520
|
class Interrupts(_message.Message):
|
|
526
521
|
__slots__ = ("interrupts",)
|
|
@@ -529,7 +524,7 @@ class Interrupts(_message.Message):
|
|
|
529
524
|
def __init__(self, interrupts: _Optional[_Iterable[_Union[Interrupt, _Mapping]]] = ...) -> None: ...
|
|
530
525
|
|
|
531
526
|
class Thread(_message.Message):
|
|
532
|
-
__slots__ = ("thread_id", "created_at", "updated_at", "metadata", "config", "
|
|
527
|
+
__slots__ = ("thread_id", "created_at", "updated_at", "metadata", "config", "status", "values", "interrupts", "error")
|
|
533
528
|
class InterruptsEntry(_message.Message):
|
|
534
529
|
__slots__ = ("key", "value")
|
|
535
530
|
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -542,20 +537,20 @@ class Thread(_message.Message):
|
|
|
542
537
|
UPDATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
543
538
|
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
544
539
|
CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
545
|
-
CONTEXT_FIELD_NUMBER: _ClassVar[int]
|
|
546
540
|
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
547
541
|
VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
548
542
|
INTERRUPTS_FIELD_NUMBER: _ClassVar[int]
|
|
543
|
+
ERROR_FIELD_NUMBER: _ClassVar[int]
|
|
549
544
|
thread_id: UUID
|
|
550
545
|
created_at: _timestamp_pb2.Timestamp
|
|
551
546
|
updated_at: _timestamp_pb2.Timestamp
|
|
552
547
|
metadata: Fragment
|
|
553
548
|
config: Fragment
|
|
554
|
-
context: Fragment
|
|
555
549
|
status: ThreadStatus
|
|
556
550
|
values: Fragment
|
|
557
551
|
interrupts: _containers.MessageMap[str, Interrupts]
|
|
558
|
-
|
|
552
|
+
error: Fragment
|
|
553
|
+
def __init__(self, thread_id: _Optional[_Union[UUID, _Mapping]] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., metadata: _Optional[_Union[Fragment, _Mapping]] = ..., config: _Optional[_Union[Fragment, _Mapping]] = ..., status: _Optional[_Union[ThreadStatus, str]] = ..., values: _Optional[_Union[Fragment, _Mapping]] = ..., interrupts: _Optional[_Mapping[str, Interrupts]] = ..., error: _Optional[_Union[Fragment, _Mapping]] = ...) -> None: ...
|
|
559
554
|
|
|
560
555
|
class CreateThreadRequest(_message.Message):
|
|
561
556
|
__slots__ = ("thread_id", "filters", "if_exists", "metadata", "ttl")
|
|
@@ -739,8 +734,8 @@ class SetThreadJointStatusRequest(_message.Message):
|
|
|
739
734
|
run_status: str
|
|
740
735
|
graph_id: str
|
|
741
736
|
checkpoint: CheckpointPayload
|
|
742
|
-
exception:
|
|
743
|
-
def __init__(self, thread_id: _Optional[_Union[UUID, _Mapping]] = ..., run_id: _Optional[_Union[UUID, _Mapping]] = ..., run_status: _Optional[str] = ..., graph_id: _Optional[str] = ..., checkpoint: _Optional[_Union[CheckpointPayload, _Mapping]] = ..., exception: _Optional[
|
|
737
|
+
exception: _struct_pb2.Struct
|
|
738
|
+
def __init__(self, thread_id: _Optional[_Union[UUID, _Mapping]] = ..., run_id: _Optional[_Union[UUID, _Mapping]] = ..., run_status: _Optional[str] = ..., graph_id: _Optional[str] = ..., checkpoint: _Optional[_Union[CheckpointPayload, _Mapping]] = ..., exception: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
|
|
744
739
|
|
|
745
740
|
class JointRollbackRequest(_message.Message):
|
|
746
741
|
__slots__ = ("thread_id", "run_id", "graph_id", "checkpoint", "exception")
|
|
@@ -753,8 +748,8 @@ class JointRollbackRequest(_message.Message):
|
|
|
753
748
|
run_id: UUID
|
|
754
749
|
graph_id: str
|
|
755
750
|
checkpoint: CheckpointPayload
|
|
756
|
-
exception:
|
|
757
|
-
def __init__(self, thread_id: _Optional[_Union[UUID, _Mapping]] = ..., run_id: _Optional[_Union[UUID, _Mapping]] = ..., graph_id: _Optional[str] = ..., checkpoint: _Optional[_Union[CheckpointPayload, _Mapping]] = ..., exception: _Optional[
|
|
751
|
+
exception: _struct_pb2.Struct
|
|
752
|
+
def __init__(self, thread_id: _Optional[_Union[UUID, _Mapping]] = ..., run_id: _Optional[_Union[UUID, _Mapping]] = ..., graph_id: _Optional[str] = ..., checkpoint: _Optional[_Union[CheckpointPayload, _Mapping]] = ..., exception: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
|
|
758
753
|
|
|
759
754
|
class RunKwargs(_message.Message):
|
|
760
755
|
__slots__ = ("config", "context", "input", "command", "stream_mode", "interrupt_before", "interrupt_after", "webhook", "feedback_keys", "temporary", "subgraphs", "resumable", "checkpoint_during", "durability")
|
|
@@ -772,7 +767,7 @@ class RunKwargs(_message.Message):
|
|
|
772
767
|
RESUMABLE_FIELD_NUMBER: _ClassVar[int]
|
|
773
768
|
CHECKPOINT_DURING_FIELD_NUMBER: _ClassVar[int]
|
|
774
769
|
DURABILITY_FIELD_NUMBER: _ClassVar[int]
|
|
775
|
-
config:
|
|
770
|
+
config: _engine_common_pb2.EngineRunnableConfig
|
|
776
771
|
context: _struct_pb2.Struct
|
|
777
772
|
input: _struct_pb2.Struct
|
|
778
773
|
command: _struct_pb2.Struct
|
|
@@ -786,7 +781,7 @@ class RunKwargs(_message.Message):
|
|
|
786
781
|
resumable: bool
|
|
787
782
|
checkpoint_during: bool
|
|
788
783
|
durability: str
|
|
789
|
-
def __init__(self, config: _Optional[_Union[
|
|
784
|
+
def __init__(self, config: _Optional[_Union[_engine_common_pb2.EngineRunnableConfig, _Mapping]] = ..., context: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., input: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., command: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., stream_mode: _Optional[_Union[StreamMode, str]] = ..., interrupt_before: _Optional[_Iterable[str]] = ..., interrupt_after: _Optional[_Iterable[str]] = ..., webhook: _Optional[str] = ..., feedback_keys: _Optional[_Iterable[str]] = ..., temporary: bool = ..., subgraphs: bool = ..., resumable: bool = ..., checkpoint_during: bool = ..., durability: _Optional[str] = ...) -> None: ...
|
|
790
785
|
|
|
791
786
|
class Run(_message.Message):
|
|
792
787
|
__slots__ = ("run_id", "thread_id", "assistant_id", "created_at", "updated_at", "status", "metadata", "kwargs", "multitask_strategy")
|
|
@@ -811,16 +806,16 @@ class Run(_message.Message):
|
|
|
811
806
|
def __init__(self, run_id: _Optional[_Union[UUID, _Mapping]] = ..., thread_id: _Optional[_Union[UUID, _Mapping]] = ..., assistant_id: _Optional[_Union[UUID, _Mapping]] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., status: _Optional[_Union[RunStatus, str]] = ..., metadata: _Optional[_Union[Fragment, _Mapping]] = ..., kwargs: _Optional[_Union[RunKwargs, _Mapping]] = ..., multitask_strategy: _Optional[_Union[MultitaskStrategy, str]] = ...) -> None: ...
|
|
812
807
|
|
|
813
808
|
class QueueStats(_message.Message):
|
|
814
|
-
__slots__ = ("n_pending", "n_running", "
|
|
809
|
+
__slots__ = ("n_pending", "n_running", "pending_runs_wait_time_max_secs", "pending_runs_wait_time_med_secs")
|
|
815
810
|
N_PENDING_FIELD_NUMBER: _ClassVar[int]
|
|
816
811
|
N_RUNNING_FIELD_NUMBER: _ClassVar[int]
|
|
817
|
-
|
|
818
|
-
|
|
812
|
+
PENDING_RUNS_WAIT_TIME_MAX_SECS_FIELD_NUMBER: _ClassVar[int]
|
|
813
|
+
PENDING_RUNS_WAIT_TIME_MED_SECS_FIELD_NUMBER: _ClassVar[int]
|
|
819
814
|
n_pending: int
|
|
820
815
|
n_running: int
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
def __init__(self, n_pending: _Optional[int] = ..., n_running: _Optional[int] = ...,
|
|
816
|
+
pending_runs_wait_time_max_secs: float
|
|
817
|
+
pending_runs_wait_time_med_secs: float
|
|
818
|
+
def __init__(self, n_pending: _Optional[int] = ..., n_running: _Optional[int] = ..., pending_runs_wait_time_max_secs: _Optional[float] = ..., pending_runs_wait_time_med_secs: _Optional[float] = ...) -> None: ...
|
|
824
819
|
|
|
825
820
|
class NextRunRequest(_message.Message):
|
|
826
821
|
__slots__ = ("wait", "limit")
|