File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ public Task<GenerateContentResponse> GenerateContentAsync(
3939 throw new NotImplementedException ( ) ;
4040 }
4141
42+ // The build logic isn't able to resolve IAsyncEnumerable for some reason, even
43+ // though it is usable in Unity 2021.3. Will need to investigate further.
44+ /*
4245 public IAsyncEnumerable<GenerateContentResponse> GenerateContentStreamAsync(
4346 params ModelContent[] content) {
4447 throw new NotImplementedException();
@@ -51,6 +54,7 @@ public IAsyncEnumerable<GenerateContentResponse> GenerateContentStreamAsync(
5154 IEnumerable<ModelContent> content) {
5255 throw new NotImplementedException();
5356 }
57+ */
5458
5559 public Task < CountTokensResponse > CountTokensAsync (
5660 params ModelContent [ ] content ) {
Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ public Task<GenerateContentResponse> GenerateContentAsync(
3434 throw new NotImplementedException ( ) ;
3535 }
3636
37+ // The build logic isn't able to resolve IAsyncEnumerable for some reason, even
38+ // though it is usable in Unity 2021.3. Will need to investigate further.
39+ /*
3740 public IAsyncEnumerable<GenerateContentResponse> GenerateContentStreamAsync(
3841 params ModelContent[] content) {
3942 throw new NotImplementedException();
@@ -46,6 +49,7 @@ public IAsyncEnumerable<GenerateContentResponse> GenerateContentStreamAsync(
4649 string text) {
4750 throw new NotImplementedException();
4851 }
52+ */
4953
5054 public Task < CountTokensResponse > CountTokensAsync (
5155 params ModelContent [ ] content ) {
You can’t perform that action at this time.
0 commit comments