Skip to content

Commit

Permalink
Merge branch 'main' into go-to-source
Browse files Browse the repository at this point in the history
  • Loading branch information
coyotte508 authored May 7, 2024
2 parents 6930ddb + a7caba5 commit 372ca42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gguf/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@huggingface/gguf",
"packageManager": "pnpm@8.10.5",
"version": "0.1.3",
"version": "0.1.4",
"description": "a GGUF parser that works on remotely hosted files",
"repository": "https://github.com/huggingface/huggingface.js.git",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions packages/gguf/src/gguf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ export async function ggufAllShards(
* Custom fetch function to use instead of the default one, for example to use a proxy or edit headers.
*/
fetch?: typeof fetch;
additionalFetchHeaders?: Record<string, string>;
}
): Promise<{ shards: GGUFParseOutput[]; parameterCount: number }> {
const ggufShardFileInfo = parseGgufShardFilename(url);
Expand Down

0 comments on commit 372ca42

Please sign in to comment.