Skip to content

Commit 7cb6470

Browse files
committed
Adding estimate cost operation
1 parent d098547 commit 7cb6470

17 files changed

Lines changed: 759 additions & 357 deletions

gooseai/completion/completion_pb.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,7 @@
1313

1414
var jspb = require('google-protobuf');
1515
var goog = jspb;
16-
var global = (function() {
17-
if (this) { return this; }
18-
if (typeof window !== 'undefined') { return window; }
19-
if (typeof global !== 'undefined') { return global; }
20-
if (typeof self !== 'undefined') { return self; }
21-
return Function('return this')();
22-
}.call(null));
16+
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
2317

2418
goog.exportSymbol('proto.gooseai.Answer', null, global);
2519
goog.exportSymbol('proto.gooseai.AnswerMeta', null, global);

gooseai/dashboard/dashboard.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gooseai/engines/engines_pb.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,7 @@
1313

1414
var jspb = require('google-protobuf');
1515
var goog = jspb;
16-
var global = (function() {
17-
if (this) { return this; }
18-
if (typeof window !== 'undefined') { return window; }
19-
if (typeof global !== 'undefined') { return global; }
20-
if (typeof self !== 'undefined') { return self; }
21-
return Function('return this')();
22-
}.call(null));
16+
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
2317

2418
goog.exportSymbol('proto.gooseai.EngineInfo', null, global);
2519
goog.exportSymbol('proto.gooseai.EngineTokenizer', null, global);

0 commit comments

Comments
 (0)