langgraph-executor 0.0.1a0__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.
- langgraph_executor/__init__.py +1 -0
- langgraph_executor/common.py +395 -0
- langgraph_executor/example.py +29 -0
- langgraph_executor/execute_task.py +239 -0
- langgraph_executor/executor.py +341 -0
- langgraph_executor/extract_graph.py +178 -0
- langgraph_executor/info_logger.py +111 -0
- langgraph_executor/pb/__init__.py +0 -0
- langgraph_executor/pb/executor_pb2.py +79 -0
- langgraph_executor/pb/executor_pb2.pyi +415 -0
- langgraph_executor/pb/executor_pb2_grpc.py +321 -0
- langgraph_executor/pb/executor_pb2_grpc.pyi +150 -0
- langgraph_executor/pb/graph_pb2.py +55 -0
- langgraph_executor/pb/graph_pb2.pyi +230 -0
- langgraph_executor/pb/graph_pb2_grpc.py +24 -0
- langgraph_executor/pb/graph_pb2_grpc.pyi +17 -0
- langgraph_executor/pb/runtime_pb2.py +68 -0
- langgraph_executor/pb/runtime_pb2.pyi +364 -0
- langgraph_executor/pb/runtime_pb2_grpc.py +322 -0
- langgraph_executor/pb/runtime_pb2_grpc.pyi +151 -0
- langgraph_executor/pb/types_pb2.py +144 -0
- langgraph_executor/pb/types_pb2.pyi +1044 -0
- langgraph_executor/pb/types_pb2_grpc.py +24 -0
- langgraph_executor/pb/types_pb2_grpc.pyi +17 -0
- langgraph_executor/py.typed +0 -0
- langgraph_executor/server.py +186 -0
- langgraph_executor/setup.sh +29 -0
- langgraph_executor/stream_utils.py +96 -0
- langgraph_executor-0.0.1a0.dist-info/METADATA +14 -0
- langgraph_executor-0.0.1a0.dist-info/RECORD +31 -0
- langgraph_executor-0.0.1a0.dist-info/WHEEL +4 -0
@@ -0,0 +1,230 @@
|
|
1
|
+
"""
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
3
|
+
isort:skip_file
|
4
|
+
"""
|
5
|
+
|
6
|
+
import builtins
|
7
|
+
import collections.abc
|
8
|
+
import google.protobuf.descriptor
|
9
|
+
import google.protobuf.internal.containers
|
10
|
+
import google.protobuf.message
|
11
|
+
import google.protobuf.struct_pb2
|
12
|
+
import types_pb2
|
13
|
+
import typing
|
14
|
+
|
15
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
16
|
+
|
17
|
+
@typing.final
|
18
|
+
class GraphDefinition(google.protobuf.message.Message):
|
19
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
20
|
+
|
21
|
+
@typing.final
|
22
|
+
class NodesEntry(google.protobuf.message.Message):
|
23
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
24
|
+
|
25
|
+
KEY_FIELD_NUMBER: builtins.int
|
26
|
+
VALUE_FIELD_NUMBER: builtins.int
|
27
|
+
key: builtins.str
|
28
|
+
@property
|
29
|
+
def value(self) -> global___NodeDefinition: ...
|
30
|
+
def __init__(
|
31
|
+
self,
|
32
|
+
*,
|
33
|
+
key: builtins.str = ...,
|
34
|
+
value: global___NodeDefinition | None = ...,
|
35
|
+
) -> None: ...
|
36
|
+
def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
|
37
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
38
|
+
|
39
|
+
@typing.final
|
40
|
+
class TriggerToNodesEntry(google.protobuf.message.Message):
|
41
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
42
|
+
|
43
|
+
KEY_FIELD_NUMBER: builtins.int
|
44
|
+
VALUE_FIELD_NUMBER: builtins.int
|
45
|
+
key: builtins.str
|
46
|
+
@property
|
47
|
+
def value(self) -> global___TriggerMapping: ...
|
48
|
+
def __init__(
|
49
|
+
self,
|
50
|
+
*,
|
51
|
+
key: builtins.str = ...,
|
52
|
+
value: global___TriggerMapping | None = ...,
|
53
|
+
) -> None: ...
|
54
|
+
def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
|
55
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
56
|
+
|
57
|
+
NAME_FIELD_NUMBER: builtins.int
|
58
|
+
NODES_FIELD_NUMBER: builtins.int
|
59
|
+
CHANNELS_FIELD_NUMBER: builtins.int
|
60
|
+
INPUT_CHANNELS_FIELD_NUMBER: builtins.int
|
61
|
+
OUTPUT_CHANNELS_FIELD_NUMBER: builtins.int
|
62
|
+
INPUT_CHANNELS_IS_LIST_FIELD_NUMBER: builtins.int
|
63
|
+
OUTPUT_CHANNELS_IS_LIST_FIELD_NUMBER: builtins.int
|
64
|
+
INTERRUPT_BEFORE_NODES_FIELD_NUMBER: builtins.int
|
65
|
+
INTERRUPT_AFTER_NODES_FIELD_NUMBER: builtins.int
|
66
|
+
TRIGGER_TO_NODES_FIELD_NUMBER: builtins.int
|
67
|
+
STREAM_MODE_FIELD_NUMBER: builtins.int
|
68
|
+
STREAM_EAGER_FIELD_NUMBER: builtins.int
|
69
|
+
STREAM_CHANNELS_FIELD_NUMBER: builtins.int
|
70
|
+
STEP_TIMEOUT_FIELD_NUMBER: builtins.int
|
71
|
+
DEBUG_FIELD_NUMBER: builtins.int
|
72
|
+
CACHE_FIELD_NUMBER: builtins.int
|
73
|
+
RETRY_POLICY_FIELD_NUMBER: builtins.int
|
74
|
+
CONFIG_FIELD_NUMBER: builtins.int
|
75
|
+
name: builtins.str
|
76
|
+
input_channels_is_list: builtins.bool
|
77
|
+
output_channels_is_list: builtins.bool
|
78
|
+
stream_eager: builtins.bool
|
79
|
+
step_timeout: builtins.float
|
80
|
+
debug: builtins.bool
|
81
|
+
@property
|
82
|
+
def nodes(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___NodeDefinition]: ...
|
83
|
+
@property
|
84
|
+
def channels(self) -> types_pb2.Channels: ...
|
85
|
+
@property
|
86
|
+
def input_channels(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
87
|
+
@property
|
88
|
+
def output_channels(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
89
|
+
@property
|
90
|
+
def interrupt_before_nodes(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
91
|
+
@property
|
92
|
+
def interrupt_after_nodes(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
93
|
+
@property
|
94
|
+
def trigger_to_nodes(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___TriggerMapping]: ...
|
95
|
+
@property
|
96
|
+
def stream_mode(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
97
|
+
@property
|
98
|
+
def stream_channels(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
99
|
+
@property
|
100
|
+
def cache(self) -> global___Cache: ...
|
101
|
+
@property
|
102
|
+
def retry_policy(self) -> global___RetryPolicy: ...
|
103
|
+
@property
|
104
|
+
def config(self) -> types_pb2.RunnableConfig: ...
|
105
|
+
def __init__(
|
106
|
+
self,
|
107
|
+
*,
|
108
|
+
name: builtins.str = ...,
|
109
|
+
nodes: collections.abc.Mapping[builtins.str, global___NodeDefinition] | None = ...,
|
110
|
+
channels: types_pb2.Channels | None = ...,
|
111
|
+
input_channels: collections.abc.Iterable[builtins.str] | None = ...,
|
112
|
+
output_channels: collections.abc.Iterable[builtins.str] | None = ...,
|
113
|
+
input_channels_is_list: builtins.bool = ...,
|
114
|
+
output_channels_is_list: builtins.bool = ...,
|
115
|
+
interrupt_before_nodes: collections.abc.Iterable[builtins.str] | None = ...,
|
116
|
+
interrupt_after_nodes: collections.abc.Iterable[builtins.str] | None = ...,
|
117
|
+
trigger_to_nodes: collections.abc.Mapping[builtins.str, global___TriggerMapping] | None = ...,
|
118
|
+
stream_mode: collections.abc.Iterable[builtins.str] | None = ...,
|
119
|
+
stream_eager: builtins.bool = ...,
|
120
|
+
stream_channels: collections.abc.Iterable[builtins.str] | None = ...,
|
121
|
+
step_timeout: builtins.float = ...,
|
122
|
+
debug: builtins.bool = ...,
|
123
|
+
cache: global___Cache | None = ...,
|
124
|
+
retry_policy: global___RetryPolicy | None = ...,
|
125
|
+
config: types_pb2.RunnableConfig | None = ...,
|
126
|
+
) -> None: ...
|
127
|
+
def HasField(self, field_name: typing.Literal["cache", b"cache", "channels", b"channels", "config", b"config", "retry_policy", b"retry_policy"]) -> builtins.bool: ...
|
128
|
+
def ClearField(self, field_name: typing.Literal["cache", b"cache", "channels", b"channels", "config", b"config", "debug", b"debug", "input_channels", b"input_channels", "input_channels_is_list", b"input_channels_is_list", "interrupt_after_nodes", b"interrupt_after_nodes", "interrupt_before_nodes", b"interrupt_before_nodes", "name", b"name", "nodes", b"nodes", "output_channels", b"output_channels", "output_channels_is_list", b"output_channels_is_list", "retry_policy", b"retry_policy", "step_timeout", b"step_timeout", "stream_channels", b"stream_channels", "stream_eager", b"stream_eager", "stream_mode", b"stream_mode", "trigger_to_nodes", b"trigger_to_nodes"]) -> None: ...
|
129
|
+
|
130
|
+
global___GraphDefinition = GraphDefinition
|
131
|
+
|
132
|
+
@typing.final
|
133
|
+
class NodeDefinition(google.protobuf.message.Message):
|
134
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
135
|
+
|
136
|
+
NAME_FIELD_NUMBER: builtins.int
|
137
|
+
TRIGGERS_FIELD_NUMBER: builtins.int
|
138
|
+
WRITERS_FIELD_NUMBER: builtins.int
|
139
|
+
TAGS_FIELD_NUMBER: builtins.int
|
140
|
+
METADATA_FIELD_NUMBER: builtins.int
|
141
|
+
CHANNELS_FIELD_NUMBER: builtins.int
|
142
|
+
name: builtins.str
|
143
|
+
@property
|
144
|
+
def triggers(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
145
|
+
"""channels this node subscribes to"""
|
146
|
+
|
147
|
+
@property
|
148
|
+
def writers(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
149
|
+
"""channels this node writes to"""
|
150
|
+
|
151
|
+
@property
|
152
|
+
def tags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
153
|
+
@property
|
154
|
+
def metadata(self) -> google.protobuf.struct_pb2.Struct: ...
|
155
|
+
@property
|
156
|
+
def channels(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
157
|
+
def __init__(
|
158
|
+
self,
|
159
|
+
*,
|
160
|
+
name: builtins.str = ...,
|
161
|
+
triggers: collections.abc.Iterable[builtins.str] | None = ...,
|
162
|
+
writers: collections.abc.Iterable[builtins.str] | None = ...,
|
163
|
+
tags: collections.abc.Iterable[builtins.str] | None = ...,
|
164
|
+
metadata: google.protobuf.struct_pb2.Struct | None = ...,
|
165
|
+
channels: collections.abc.Iterable[builtins.str] | None = ...,
|
166
|
+
) -> None: ...
|
167
|
+
def HasField(self, field_name: typing.Literal["metadata", b"metadata"]) -> builtins.bool: ...
|
168
|
+
def ClearField(self, field_name: typing.Literal["channels", b"channels", "metadata", b"metadata", "name", b"name", "tags", b"tags", "triggers", b"triggers", "writers", b"writers"]) -> None: ...
|
169
|
+
|
170
|
+
global___NodeDefinition = NodeDefinition
|
171
|
+
|
172
|
+
@typing.final
|
173
|
+
class RetryPolicy(google.protobuf.message.Message):
|
174
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
175
|
+
|
176
|
+
INITIAL_INTERVAL_FIELD_NUMBER: builtins.int
|
177
|
+
BACKOFF_FACTOR_FIELD_NUMBER: builtins.int
|
178
|
+
MAX_INTERVAL_FIELD_NUMBER: builtins.int
|
179
|
+
MAX_ATTEMPTS_FIELD_NUMBER: builtins.int
|
180
|
+
JITTER_FIELD_NUMBER: builtins.int
|
181
|
+
initial_interval: builtins.float
|
182
|
+
backoff_factor: builtins.float
|
183
|
+
max_interval: builtins.float
|
184
|
+
max_attempts: builtins.int
|
185
|
+
jitter: builtins.bool
|
186
|
+
"""retry_on?"""
|
187
|
+
def __init__(
|
188
|
+
self,
|
189
|
+
*,
|
190
|
+
initial_interval: builtins.float = ...,
|
191
|
+
backoff_factor: builtins.float = ...,
|
192
|
+
max_interval: builtins.float = ...,
|
193
|
+
max_attempts: builtins.int = ...,
|
194
|
+
jitter: builtins.bool = ...,
|
195
|
+
) -> None: ...
|
196
|
+
def ClearField(self, field_name: typing.Literal["backoff_factor", b"backoff_factor", "initial_interval", b"initial_interval", "jitter", b"jitter", "max_attempts", b"max_attempts", "max_interval", b"max_interval"]) -> None: ...
|
197
|
+
|
198
|
+
global___RetryPolicy = RetryPolicy
|
199
|
+
|
200
|
+
@typing.final
|
201
|
+
class Cache(google.protobuf.message.Message):
|
202
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
203
|
+
|
204
|
+
CACHE_TYPE_FIELD_NUMBER: builtins.int
|
205
|
+
cache_type: builtins.str
|
206
|
+
"""Type of cache: "inMemory", "unsupported", etc."""
|
207
|
+
def __init__(
|
208
|
+
self,
|
209
|
+
*,
|
210
|
+
cache_type: builtins.str = ...,
|
211
|
+
) -> None: ...
|
212
|
+
def ClearField(self, field_name: typing.Literal["cache_type", b"cache_type"]) -> None: ...
|
213
|
+
|
214
|
+
global___Cache = Cache
|
215
|
+
|
216
|
+
@typing.final
|
217
|
+
class TriggerMapping(google.protobuf.message.Message):
|
218
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
219
|
+
|
220
|
+
NODES_FIELD_NUMBER: builtins.int
|
221
|
+
@property
|
222
|
+
def nodes(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
223
|
+
def __init__(
|
224
|
+
self,
|
225
|
+
*,
|
226
|
+
nodes: collections.abc.Iterable[builtins.str] | None = ...,
|
227
|
+
) -> None: ...
|
228
|
+
def ClearField(self, field_name: typing.Literal["nodes", b"nodes"]) -> None: ...
|
229
|
+
|
230
|
+
global___TriggerMapping = TriggerMapping
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
3
|
+
import grpc
|
4
|
+
import warnings
|
5
|
+
|
6
|
+
|
7
|
+
GRPC_GENERATED_VERSION = '1.74.0'
|
8
|
+
GRPC_VERSION = grpc.__version__
|
9
|
+
_version_not_supported = False
|
10
|
+
|
11
|
+
try:
|
12
|
+
from grpc._utilities import first_version_is_lower
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
14
|
+
except ImportError:
|
15
|
+
_version_not_supported = True
|
16
|
+
|
17
|
+
if _version_not_supported:
|
18
|
+
raise RuntimeError(
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
20
|
+
+ f' but the generated code in graph_pb2_grpc.py depends on'
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
24
|
+
)
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"""
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
3
|
+
isort:skip_file
|
4
|
+
"""
|
5
|
+
|
6
|
+
import abc
|
7
|
+
import collections.abc
|
8
|
+
import grpc
|
9
|
+
import grpc.aio
|
10
|
+
import typing
|
11
|
+
|
12
|
+
_T = typing.TypeVar("_T")
|
13
|
+
|
14
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
15
|
+
|
16
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
17
|
+
...
|
@@ -0,0 +1,68 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
4
|
+
# source: runtime.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
|
+
'runtime.proto'
|
19
|
+
)
|
20
|
+
# @@protoc_insertion_point(imports)
|
21
|
+
|
22
|
+
_sym_db = _symbol_database.Default()
|
23
|
+
|
24
|
+
|
25
|
+
from . import types_pb2 as types__pb2
|
26
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
27
|
+
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
28
|
+
|
29
|
+
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rruntime.proto\x12\x07runtime\x1a\x0btypes.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\"%\n\x12\x41\x64\x64\x45xecutorRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"L\n\x0f\x41\x64\x64GraphRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12+\n\x0c\x63heckpointer\x18\x02 \x01(\x0b\x32\x15.runtime.Checkpointer\"}\n\x0c\x43heckpointer\x12/\n\x06memory\x18\x02 \x01(\x0b\x32\x1d.runtime.InMemoryCheckpointerH\x00\x12\x31\n\x08postgres\x18\x03 \x01(\x0b\x32\x1d.runtime.PostgresCheckpointerH\x00\x42\t\n\x07message\"\x16\n\x14InMemoryCheckpointer\"1\n\x14PostgresCheckpointer\x12\x19\n\x11\x63onnection_string\x18\x01 \x01(\t\"\xcf\x01\n\rInvokeRequest\x12\x12\n\ngraph_name\x18\x01 \x01(\t\x12\x1b\n\x05input\x18\x02 \x01(\x0b\x32\x0c.types.Value\x12%\n\x06\x63onfig\x18\x03 \x01(\x0b\x32\x15.types.RunnableConfig\x12\'\n\x08run_opts\x18\x04 \x01(\x0b\x32\x10.runtime.RunOptsH\x00\x88\x01\x01\x12$\n\x07\x63ontext\x18\x05 \x01(\x0b\x32\x0e.types.ContextH\x01\x88\x01\x01\x42\x0b\n\t_run_optsB\n\n\x08_context\"\xcf\x01\n\rStreamRequest\x12\x12\n\ngraph_name\x18\x01 \x01(\t\x12\x1b\n\x05input\x18\x02 \x01(\x0b\x32\x0c.types.Value\x12%\n\x06\x63onfig\x18\x03 \x01(\x0b\x32\x15.types.RunnableConfig\x12\'\n\x08run_opts\x18\x04 \x01(\x0b\x32\x10.runtime.RunOptsH\x00\x88\x01\x01\x12$\n\x07\x63ontext\x18\x05 \x01(\x0b\x32\x0e.types.ContextH\x01\x88\x01\x01\x42\x0b\n\t_run_optsB\n\n\x08_context\"\xd2\x01\n\x07RunOpts\x12\x13\n\x0boutput_keys\x18\x01 \x03(\t\x12\x18\n\x10interrupt_before\x18\x02 \x03(\t\x12\x17\n\x0finterrupt_after\x18\x03 \x03(\t\x12\x17\n\ndurability\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05\x64\x65\x62ug\x18\x05 \x01(\x08H\x01\x88\x01\x01\x12\x16\n\tsubgraphs\x18\x06 \x01(\x08H\x02\x88\x01\x01\x12\x13\n\x0bstream_mode\x18\x07 \x03(\tB\r\n\x0b_durabilityB\x08\n\x06_debugB\x0c\n\n_subgraphs\"1\n\tChunkList\x12$\n\x06\x63hunks\x18\x01 \x03(\x0b\x32\x14.runtime.OutputChunk\"\x86\x01\n\x0bOutputChunk\x12#\n\x05\x63hunk\x18\x01 \x01(\x0b\x32\x12.types.StreamChunkH\x00\x12\x1d\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x0c.types.ValueH\x00\x12(\n\nchunk_list\x18\x05 \x01(\x0b\x32\x12.runtime.ChunkListH\x00\x42\t\n\x07message\"_\n\x0fGetStateRequest\x12\x12\n\ngraph_name\x18\x01 \x01(\t\x12%\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x15.types.RunnableConfig\x12\x11\n\tsubgraphs\x18\x03 \x01(\x08\"7\n\x10GetStateResponse\x12#\n\x05state\x18\x01 \x01(\x0b\x32\x14.types.StateSnapshot\"\xb2\x01\n\x16GetStateHistoryRequest\x12\x12\n\ngraph_name\x18\x01 \x01(\t\x12%\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x15.types.RunnableConfig\x12\'\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\x12%\n\x06\x62\x65\x66ore\x18\x04 \x01(\x0b\x32\x15.types.RunnableConfig\x12\r\n\x05limit\x18\x05 \x01(\x03\"@\n\x17GetStateHistoryResponse\x12%\n\x07history\x18\x01 \x03(\x0b\x32\x14.types.StateSnapshot2\x9d\x03\n\x10LangGraphRuntime\x12\x42\n\x0b\x41\x64\x64\x45xecutor\x12\x1b.runtime.AddExecutorRequest\x1a\x16.google.protobuf.Empty\x12<\n\x08\x41\x64\x64Graph\x12\x18.runtime.AddGraphRequest\x1a\x16.google.protobuf.Empty\x12\x36\n\x06Invoke\x12\x16.runtime.InvokeRequest\x1a\x14.runtime.OutputChunk\x12\x38\n\x06Stream\x12\x16.runtime.StreamRequest\x1a\x14.runtime.OutputChunk0\x01\x12?\n\x08GetState\x12\x18.runtime.GetStateRequest\x1a\x19.runtime.GetStateResponse\x12T\n\x0fGetStateHistory\x12\x1f.runtime.GetStateHistoryRequest\x1a .runtime.GetStateHistoryResponseB1Z/github.com/langchain-ai/langgraph-go/runtime/pbb\x06proto3')
|
31
|
+
|
32
|
+
_globals = globals()
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'runtime_pb2', _globals)
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
36
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
37
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z/github.com/langchain-ai/langgraph-go/runtime/pb'
|
38
|
+
_globals['_ADDEXECUTORREQUEST']._serialized_start=98
|
39
|
+
_globals['_ADDEXECUTORREQUEST']._serialized_end=135
|
40
|
+
_globals['_ADDGRAPHREQUEST']._serialized_start=137
|
41
|
+
_globals['_ADDGRAPHREQUEST']._serialized_end=213
|
42
|
+
_globals['_CHECKPOINTER']._serialized_start=215
|
43
|
+
_globals['_CHECKPOINTER']._serialized_end=340
|
44
|
+
_globals['_INMEMORYCHECKPOINTER']._serialized_start=342
|
45
|
+
_globals['_INMEMORYCHECKPOINTER']._serialized_end=364
|
46
|
+
_globals['_POSTGRESCHECKPOINTER']._serialized_start=366
|
47
|
+
_globals['_POSTGRESCHECKPOINTER']._serialized_end=415
|
48
|
+
_globals['_INVOKEREQUEST']._serialized_start=418
|
49
|
+
_globals['_INVOKEREQUEST']._serialized_end=625
|
50
|
+
_globals['_STREAMREQUEST']._serialized_start=628
|
51
|
+
_globals['_STREAMREQUEST']._serialized_end=835
|
52
|
+
_globals['_RUNOPTS']._serialized_start=838
|
53
|
+
_globals['_RUNOPTS']._serialized_end=1048
|
54
|
+
_globals['_CHUNKLIST']._serialized_start=1050
|
55
|
+
_globals['_CHUNKLIST']._serialized_end=1099
|
56
|
+
_globals['_OUTPUTCHUNK']._serialized_start=1102
|
57
|
+
_globals['_OUTPUTCHUNK']._serialized_end=1236
|
58
|
+
_globals['_GETSTATEREQUEST']._serialized_start=1238
|
59
|
+
_globals['_GETSTATEREQUEST']._serialized_end=1333
|
60
|
+
_globals['_GETSTATERESPONSE']._serialized_start=1335
|
61
|
+
_globals['_GETSTATERESPONSE']._serialized_end=1390
|
62
|
+
_globals['_GETSTATEHISTORYREQUEST']._serialized_start=1393
|
63
|
+
_globals['_GETSTATEHISTORYREQUEST']._serialized_end=1571
|
64
|
+
_globals['_GETSTATEHISTORYRESPONSE']._serialized_start=1573
|
65
|
+
_globals['_GETSTATEHISTORYRESPONSE']._serialized_end=1637
|
66
|
+
_globals['_LANGGRAPHRUNTIME']._serialized_start=1640
|
67
|
+
_globals['_LANGGRAPHRUNTIME']._serialized_end=2053
|
68
|
+
# @@protoc_insertion_point(module_scope)
|