Skip to content
This repository has been archived by the owner on Aug 25, 2024. It is now read-only.

Commit

Permalink
Fix for handling big messages from Python agent (LangStream#749)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbornet authored Dec 13, 2023
1 parent 5d6dbac commit 4a9f731
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public synchronized void onNewSchemaToSend(Schema schema) {
@Override
public void start() throws Exception {
super.start();
request = AgentServiceGrpc.newStub(channel).withWaitForReady().process(responseObserver);
request = asyncStub.process(responseObserver);
restarting.set(false);
startFailedButDevelopmentMode = false;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void onNewSchemaToSend(Schema schema) {
@Override
public void start() throws Exception {
super.start();
request = AgentServiceGrpc.newStub(channel).withWaitForReady().write(responseObserver);
request = asyncStub.write(responseObserver);
restarting.set(false);
startFailedButDevelopmentMode = false;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void onNewSchemaToSend(Schema schema) {
@Override
public void start() throws Exception {
super.start();
request = AgentServiceGrpc.newStub(channel).withWaitForReady().read(responseObserver);
request = asyncStub.read(responseObserver);
restarting.set(false);
startFailedButDevelopmentMode = false;
}
Expand Down

0 comments on commit 4a9f731

Please sign in to comment.