Skip to content

Commit

Permalink
fix: openai-fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed Oct 8, 2024
1 parent ff09cbd commit b4cb061
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"kindle-api-ky": "^1.0.1",
"ky": "^1.7.2",
"node-id3": "^0.2.6",
"openai-fetch": "^3.3.0",
"openai-fetch": "^3.3.1",
"p-map": "^7.0.2",
"pdfkit": "^0.15.0",
"playwright": "^1.47.2",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/export-book-audio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ import path from 'node:path'
import ffmpeg from 'fluent-ffmpeg'
import ky from 'ky'
import ID3 from 'node-id3'
import { OpenAIClient } from 'openai-fetch'
import { OpenAIClient, type SpeechParams } from 'openai-fetch'
import pMap from 'p-map'
import { UnrealSpeechClient } from 'unrealspeech-api'

import type { SpeechParams } from '../../openai-fetch/dist/types'
import type { BookMetadata, ContentChunk } from './types'
import {
assert,
Expand Down

0 comments on commit b4cb061

Please sign in to comment.