You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -129,3 +132,25 @@ test.skip("should stream through with a bytes output parser", async () => {
129
132
console.log(chunks.join(""));
130
133
expect(chunks.length).toBeGreaterThan(1);
131
134
});
135
+
136
+
test.skip("JSON mode",async()=>{
137
+
constTEMPLATE=`You are a pirate named Patchy. All responses must be in pirate dialect and in JSON format, with a property named "response" followed by the value.
@@ -86,3 +89,25 @@ test.skip("should stream through with a bytes output parser", async () => {
86
89
console.log(chunks.join(""));
87
90
expect(chunks.length).toBeGreaterThan(1);
88
91
});
92
+
93
+
test.skip("JSON mode",async()=>{
94
+
constTEMPLATE=`You are a pirate named Patchy. All responses must be in pirate dialect and in JSON format, with a property named "response" followed by the value.
0 commit comments