exa-js 1.8.10 → 1.8.12
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.
- package/dist/index.d.mts +115 -100
- package/dist/index.d.ts +115 -100
- package/dist/index.js +1 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -831,7 +831,7 @@ var ResearchClient = class extends ResearchBaseClient {
|
|
|
831
831
|
const { instructions, model, output } = params;
|
|
832
832
|
const payload = {
|
|
833
833
|
instructions,
|
|
834
|
-
model: model ?? "exa-research"
|
|
834
|
+
model: model ?? "exa-research",
|
|
835
835
|
output: output ? {
|
|
836
836
|
schema: output.schema,
|
|
837
837
|
inferSchema: output.inferSchema ?? true
|
|
@@ -941,19 +941,6 @@ var ResearchClient = class extends ResearchBaseClient {
|
|
|
941
941
|
}
|
|
942
942
|
};
|
|
943
943
|
|
|
944
|
-
// src/research/openapi.ts
|
|
945
|
-
var ResearchCreateOpenAIResponseDtoModel = /* @__PURE__ */ ((ResearchCreateOpenAIResponseDtoModel2) => {
|
|
946
|
-
ResearchCreateOpenAIResponseDtoModel2["exa_research"] = "exa-research";
|
|
947
|
-
ResearchCreateOpenAIResponseDtoModel2["exa_research_pro"] = "exa-research-pro";
|
|
948
|
-
return ResearchCreateOpenAIResponseDtoModel2;
|
|
949
|
-
})(ResearchCreateOpenAIResponseDtoModel || {});
|
|
950
|
-
var ResearchTaskDtoStatus = /* @__PURE__ */ ((ResearchTaskDtoStatus2) => {
|
|
951
|
-
ResearchTaskDtoStatus2["running"] = "running";
|
|
952
|
-
ResearchTaskDtoStatus2["completed"] = "completed";
|
|
953
|
-
ResearchTaskDtoStatus2["failed"] = "failed";
|
|
954
|
-
return ResearchTaskDtoStatus2;
|
|
955
|
-
})(ResearchTaskDtoStatus || {});
|
|
956
|
-
|
|
957
944
|
// src/index.ts
|
|
958
945
|
var fetchImpl = typeof global !== "undefined" && global.fetch ? global.fetch : fetch;
|
|
959
946
|
var HeadersImpl = typeof global !== "undefined" && global.Headers ? global.Headers : Headers;
|
|
@@ -1404,8 +1391,6 @@ export {
|
|
|
1404
1391
|
MonitorRunType,
|
|
1405
1392
|
MonitorStatus,
|
|
1406
1393
|
ResearchClient,
|
|
1407
|
-
ResearchCreateOpenAIResponseDtoModel as ResearchModel,
|
|
1408
|
-
ResearchTaskDtoStatus as ResearchStatus,
|
|
1409
1394
|
UpdateMonitorStatus,
|
|
1410
1395
|
WebhookStatus,
|
|
1411
1396
|
WebsetEnrichmentFormat,
|