Commit 9c485f6
release: 0.77.0 (#1117)
* codegen metadata
* feat(api): migrate sending message format in output_config rather than output_format
* chore(internal): update `actions/checkout` version
* fix(structured outputs): avoid including beta header if `output_format` is missing (#1121)
* fix(structured outputs): avoid including beta header if output_format is missing
* fix ci
* fix condition
* chore(ci): upgrade `actions/github-script`
* codegen metadata
* feat: use output_config for structured outputs
* feat(api): api update
* feat(api): migrate sending message format in output_config rather than output_format
* fix lint
* review fixes
* more fixes
* keep transformed_output_format naming
* typo
* add a test
* test for conflict
* do the same for create
* feat: add deprecation warning to all calls using output_format
* test: add unit tests for output_format -> output_config migration
* fix: change warning stack level to 4 for output_format derecation
* chore: consolidate warning suppressions in unit test
* fix: remove redundant output_config formatting in tool_runner methods
---------
Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
Co-authored-by: karpetrosyan <kar.petrosyanpy@gmail.com>
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
Co-authored-by: Cameron McAteer <246350779+cameron-mcateer@users.noreply.github.com>
* feat(client): add custom JSON encoder for extended type support
* feat(api): add support for Structured Outputs in the Messages API
* fix(client): run formatter
* fix: remove class causing breaking change (#1333)
* release: 0.77.0
---------
Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
Co-authored-by: dtmeadows <dmeadows@stainless.com>
Co-authored-by: karpetrosyan <kar.petrosyanpy@gmail.com>
Co-authored-by: Cameron McAteer <246350779+cameron-mcateer@users.noreply.github.com>1 parent 9b5ab24 commit 9c485f6
File tree
73 files changed
+2133
-194
lines changed- .github/workflows
- examples
- src/anthropic
- _utils
- lib
- _parse
- streaming
- resources
- beta/messages
- messages
- types
- beta
- messages
- tests
- api_resources
- beta
- messages
- lib
- _parse
- __inline_snapshot__
- test_beta_messages
- TestAsyncMessages.test_parse_uses_output_config
- TestAsyncMessages.test_stream_with_raw_schema
- test_messages/TestAsyncStream.test_stream_with_raw_schema
- streaming
- tools
- test_utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
73 files changed
+2133
-194
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
50 | | - | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
3 | 27 | | |
4 | 28 | | |
5 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| |||
0 commit comments