Skip to content

Commit 8c5b044

Browse files
committed
wip
1 parent 85f646d commit 8c5b044

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

docs/testing.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
## Running Tests
44

5+
### Schema Layer Tests
6+
7+
```bash
8+
use tests/schema/test-schema-generation.nu
9+
test-schema-generation
10+
```
11+
12+
### Provider Transformation Tests
13+
514
```bash
615
use tests/providers/test-prepare-request.nu
716

@@ -14,6 +23,9 @@ test-prepare-request anthropic image-document
1423

1524
# Test with real API calls (⚠️ consumes tokens!)
1625
test-prepare-request anthropic --call "your-api-key"
26+
27+
# Test all providers
28+
test-prepare-request
1729
```
1830

1931
## Test Structure

gpt/mod.nu

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ export def process-turn [turn: record] {
200200

201201
# save the assistance response
202202
let turn = $content | to json | .append gpt.turn --meta $meta
203-
print $"THIS SHOULND'T BE POSSIBLE: ($turn)"
204203
$content | process-turn-response $turn
205204
}
206205

0 commit comments

Comments
 (0)