Skip to content

Commit

Permalink
Refactor fetch implementation to use isomorphic-fetch, update depende…
Browse files Browse the repository at this point in the history
…ncies, and enhance error handling in AnthropicModel
  • Loading branch information
Braffolk committed Jan 22, 2025
1 parent e74a339 commit 869e37c
Show file tree
Hide file tree
Showing 8 changed files with 409 additions and 129 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/npm-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: NPM Test

on:
push:
branches:
- main
- dev

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm run test:ci
Loading

0 comments on commit 869e37c

Please sign in to comment.