Skip to content

Commit d143c24

Browse files
committed
fix to the write method
1 parent 669f3c8 commit d143c24

File tree

1 file changed

+2
-2
lines changed
  • packages/traceloop-sdk/src/lib/prompts

1 file changed

+2
-2
lines changed

packages/traceloop-sdk/src/lib/prompts/fetch.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { InitializeOptions } from "../interfaces";
22
import fetch from "cross-fetch";
3-
import fetchRetryFactory from "fetch-retry";
3+
import fetchBuilder from "fetch-retry";
44

5-
const fetchRetry = fetchRetryFactory(fetch);
5+
const fetchRetry = fetchBuilder(fetch);
66

77
export const fetchPrompts = async (options: InitializeOptions) => {
88
const { apiKey, baseUrl, traceloopSyncMaxRetries } = options;

0 commit comments

Comments
 (0)