Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:

strategy:
matrix:
node-version: ['16.x', '18.x', '20.x']
node-version: ['18.x', '20.x', '22.x']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-node@v2
with:
node-version: '18.x'
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'

- run: npm install
Expand Down
6 changes: 3 additions & 3 deletions README.MD
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# DeepInfra Node API Library

![npm](https://img.shields.io/npm/v/deepinfra)
![npm](https://img.shields.io/npm/dt/deepinfra)<br>


This library provides a simple way to interact with the DeepInfra API.
This library provides a simple way to interact with the DeepInfra API.
<br>
<br>
Check out our docs [here.](https://deepinfra.github.io/deepinfra-node/)
Expand All @@ -23,7 +23,7 @@ leverages a mixture of 8 experts (MoE) within 7b models. Its release was facilit
implementation remains in the experimental phase.\_

```typescript
import {TextGeneration} from "deepinfra";
import { TextGeneration } from "deepinfra";

const modelName = "mistralai/Mixtral-8x22B-Instruct-v0.1";
const apiKey = "YOUR_DEEPINFRA_API_KEY";
Expand Down
Loading