From a8df60884adef0c1ae4a86a30ff927bbc1cc62d5 Mon Sep 17 00:00:00 2001 From: Samuel Lijin Date: Fri, 20 Sep 2024 13:28:36 -0700 Subject: [PATCH] release: 0.56.0 (#973) --- CHANGELOG.md | 28 +- engine/Cargo.lock | 24 +- engine/Cargo.toml | 2 +- engine/language_client_python/pyproject.toml | 2 +- engine/language_client_ruby/baml.gemspec | 2 +- .../language_client_typescript/package.json | 2 +- integ-tests/baml_src/generators.baml | 8 +- integ-tests/python/baml_client/inlinedbaml.py | 2 +- integ-tests/ruby/Rakefile | 4 +- integ-tests/ruby/baml_client/inlined.rb | 2 +- .../typescript/baml_client/inlinedbaml.ts | 2 +- integ-tests/typescript/test-report.html | 481 +----------------- tools/versions/engine.cfg | 2 +- tools/versions/integ-tests.cfg | 2 +- tools/versions/python.cfg | 2 +- tools/versions/ruby.cfg | 2 +- tools/versions/typescript.cfg | 2 +- tools/versions/vscode.cfg | 2 +- typescript/vscode-ext/packages/package.json | 2 +- 19 files changed, 70 insertions(+), 503 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d7ce0292..aec057fc2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,33 @@ All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines. -## [0.55.3](https://github.com/boundaryml/baml/compare/0.55.2..0.55.3) - 2024-09-11 +## [0.56.0](https://github.com/boundaryml/baml/compare/0.55.3..0.56.0) - 2024-09-20 + +Shout outs to Nico for fixing some internal Rust dependencies, and to Lorenz for correcting our documentation! We really appreciate it :) + + +### Features + +- use better default for openapi/rust client (#958) - ([b74ef15](https://github.com/boundaryml/baml/commit/b74ef15fd4dc09ecc7d1ac8284e7f22cd6d5864c)) - Samuel Lijin + +### Bug Fixes + +- push optional-list and optional-map validation to post-parse (#959) - ([c0480d5](https://github.com/boundaryml/baml/commit/c0480d5cfd46ce979e957223dc7b5fa744778552)) - Samuel Lijin +- improve OpenAPI instructions for windows/java (#962) - ([6010efb](https://github.com/boundaryml/baml/commit/6010efbb7990fda966640c3af267de41362d3fa4)) - Samuel Lijin +- assorted fixes: unquoted strings, openai-generic add api_key for bearer auth, support escape characters in quoted strings (#965) - ([847f3a9](https://github.com/boundaryml/baml/commit/847f3a9bb0f00303eae7e410663efc63e54c38b6)) - hellovai +- serde-serialize can cause a package dependency cycle (#967) - ([109ae09](https://github.com/boundaryml/baml/commit/109ae0914852f2ee4a771d27103e4e46ad672647)) - Nico +- make anthropic work in fiddle/vscode (#970) - ([32eccae](https://github.com/boundaryml/baml/commit/32eccae44b27c3fec5fbc3270b6657819d75a426)) - Samuel Lijin +- make dynamic enums work as outputs in Ruby (#972) - ([7530402](https://github.com/boundaryml/baml/commit/7530402f0dc063f10f57cf7aa7f06790574de705)) - Samuel Lijin + +### Documentation + +- suggest correct python init command in vscode readme (#954) - ([e99c5dd](https://github.com/boundaryml/baml/commit/e99c5dd1903078d08aef451e4addc6110d7ca279)) - Samuel Lijin +- add more vscode debugging instructions (#955) - ([342b657](https://github.com/boundaryml/baml/commit/342b657da69441306fa7711d7d14893cf8036f84)) - Samuel Lijin +- NextJS hook needs to be bound to the correct context (#957) - ([ee80451](https://github.com/boundaryml/baml/commit/ee80451de85063b37e658ba58571c791e8514273)) - aaronvg +- update nextjs hooks and docs (#952) - ([01cf855](https://github.com/boundaryml/baml/commit/01cf855500159066fdcd162dc2e2087768d5ba28)) - aaronvg +- Fix some documentation typos (#966) - ([5193cd7](https://github.com/boundaryml/baml/commit/5193cd70686173c863af5ce40fd6bb3792406951)) - Greg Hale +- Keywords AI router (#953) - ([1c6f975](https://github.com/boundaryml/baml/commit/1c6f975d8cc793841745da0db82ee1e2f1908e56)) - aaronvg +- Fix `post_generate` comment (#968) - ([919c79f](https://github.com/boundaryml/baml/commit/919c79fa8cd85a96e6559055b2bb436d925dcb2a)) - lorenzoh ### Bug Fixes diff --git a/engine/Cargo.lock b/engine/Cargo.lock index f41de2731..a0896e4a5 100644 --- a/engine/Cargo.lock +++ b/engine/Cargo.lock @@ -773,7 +773,7 @@ dependencies = [ [[package]] name = "baml-lib" -version = "0.55.3" +version = "0.56.0" dependencies = [ "base64 0.13.1", "dissimilar", @@ -811,7 +811,7 @@ dependencies = [ [[package]] name = "baml-runtime" -version = "0.55.3" +version = "0.56.0" dependencies = [ "ambassador", "anyhow", @@ -901,7 +901,7 @@ dependencies = [ [[package]] name = "baml-schema-build" -version = "0.55.3" +version = "0.56.0" dependencies = [ "anyhow", "baml-runtime", @@ -936,7 +936,7 @@ dependencies = [ [[package]] name = "baml-types" -version = "0.55.3" +version = "0.56.0" dependencies = [ "anyhow", "clap", @@ -2333,7 +2333,7 @@ dependencies = [ [[package]] name = "internal-baml-codegen" -version = "0.55.3" +version = "0.56.0" dependencies = [ "anyhow", "askama", @@ -2357,7 +2357,7 @@ dependencies = [ [[package]] name = "internal-baml-core" -version = "0.55.3" +version = "0.56.0" dependencies = [ "anyhow", "baml-types", @@ -2390,7 +2390,7 @@ dependencies = [ [[package]] name = "internal-baml-diagnostics" -version = "0.55.3" +version = "0.56.0" dependencies = [ "anyhow", "colored", @@ -2403,7 +2403,7 @@ dependencies = [ [[package]] name = "internal-baml-jinja" -version = "0.55.3" +version = "0.56.0" dependencies = [ "anyhow", "askama", @@ -2421,7 +2421,7 @@ dependencies = [ [[package]] name = "internal-baml-parser-database" -version = "0.55.3" +version = "0.56.0" dependencies = [ "anyhow", "baml-types", @@ -2443,7 +2443,7 @@ dependencies = [ [[package]] name = "internal-baml-prompt-parser" -version = "0.55.3" +version = "0.56.0" dependencies = [ "internal-baml-diagnostics", "internal-baml-schema-ast", @@ -2455,7 +2455,7 @@ dependencies = [ [[package]] name = "internal-baml-schema-ast" -version = "0.55.3" +version = "0.56.0" dependencies = [ "baml-types", "either", @@ -2532,7 +2532,7 @@ checksum = "9dbbfed4e59ba9750e15ba154fdfd9329cee16ff3df539c2666b70f58cc32105" [[package]] name = "jsonish" -version = "0.55.3" +version = "0.56.0" dependencies = [ "anyhow", "assert-json-diff", diff --git a/engine/Cargo.toml b/engine/Cargo.toml index 2c31a0879..5834fff02 100644 --- a/engine/Cargo.toml +++ b/engine/Cargo.toml @@ -62,7 +62,7 @@ internal-baml-jinja = { path = "baml-lib/jinja" } internal-baml-schema-ast = { path = "baml-lib/schema-ast" } [workspace.package] -version = "0.55.3" +version = "0.56.0" authors = ["Boundary "] description = "BAML Toolchain" diff --git a/engine/language_client_python/pyproject.toml b/engine/language_client_python/pyproject.toml index 4369fed1c..ade278f53 100644 --- a/engine/language_client_python/pyproject.toml +++ b/engine/language_client_python/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "baml-py" -version = "0.55.3" +version = "0.56.0" description = "BAML python bindings (pyproject.toml)" readme = "README.md" authors = [["Boundary", "contact@boundaryml.com"]] diff --git a/engine/language_client_ruby/baml.gemspec b/engine/language_client_ruby/baml.gemspec index f04ca3386..e1f956921 100644 --- a/engine/language_client_ruby/baml.gemspec +++ b/engine/language_client_ruby/baml.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |spec| spec.name = "baml" - spec.version = "0.55.3" + spec.version = "0.56.0" spec.authors = ["BoundaryML"] spec.email = ["contact@boundaryml.com"] diff --git a/engine/language_client_typescript/package.json b/engine/language_client_typescript/package.json index b62fe3998..4c8dbbd96 100644 --- a/engine/language_client_typescript/package.json +++ b/engine/language_client_typescript/package.json @@ -1,6 +1,6 @@ { "name": "@boundaryml/baml", - "version": "0.55.3", + "version": "0.56.0", "description": "BAML typescript bindings (package.json)", "repository": { "type": "git", diff --git a/integ-tests/baml_src/generators.baml b/integ-tests/baml_src/generators.baml index 4f19eaea6..75168985b 100644 --- a/integ-tests/baml_src/generators.baml +++ b/integ-tests/baml_src/generators.baml @@ -1,24 +1,24 @@ generator lang_python { output_type python/pydantic output_dir "../python" - version "0.55.3" + version "0.56.0" } generator lang_typescript { output_type typescript output_dir "../typescript" - version "0.55.3" + version "0.56.0" } generator lang_ruby { output_type ruby/sorbet output_dir "../ruby" - version "0.55.3" + version "0.56.0" } generator openapi { output_type rest/openapi output_dir "../openapi" - version "0.55.3" + version "0.56.0" on_generate "rm .gitignore" } diff --git a/integ-tests/python/baml_client/inlinedbaml.py b/integ-tests/python/baml_client/inlinedbaml.py index ec1ca35eb..6c0e927ce 100644 --- a/integ-tests/python/baml_client/inlinedbaml.py +++ b/integ-tests/python/baml_client/inlinedbaml.py @@ -25,7 +25,7 @@ "fiddle-examples/extract-receipt-info.baml": "class ReceiptItem {\n name string\n description string?\n quantity int\n price float\n}\n\nclass ReceiptInfo {\n items ReceiptItem[]\n total_cost float?\n}\n\nfunction ExtractReceiptInfo(email: string) -> ReceiptInfo {\n client GPT4o\n prompt #\"\n Given the receipt below:\n\n ```\n {{email}}\n ```\n\n {{ ctx.output_format }}\n \"#\n}\n\n", "fiddle-examples/images/image.baml": "function DescribeImage(img: image) -> string {\n client GPT4o\n prompt #\"\n {{ _.role(\"user\") }}\n\n\n Describe the image below in 20 words:\n {{ img }}\n \"#\n\n}\n\nclass FakeImage {\n url string\n}\n\nclass ClassWithImage {\n myImage image\n param2 string\n fake_image FakeImage\n}\n\n// chat role user present\nfunction DescribeImage2(classWithImage: ClassWithImage, img2: image) -> string { \n client GPT4Turbo\n prompt #\"\n {{ _.role(\"user\") }}\n You should return 2 answers that answer the following commands.\n\n 1. Describe this in 5 words:\n {{ classWithImage.myImage }}\n\n 2. Also tell me what's happening here in one sentence:\n {{ img2 }}\n \"#\n}\n\n// no chat role\nfunction DescribeImage3(classWithImage: ClassWithImage, img2: image) -> string {\n client GPT4Turbo\n prompt #\"\n Describe this in 5 words:\n {{ classWithImage.myImage }}\n\n Tell me also what's happening here in one sentence and relate it to the word {{ classWithImage.param2 }}:\n {{ img2 }}\n \"#\n}\n\n\n// system prompt and chat prompt\nfunction DescribeImage4(classWithImage: ClassWithImage, img2: image) -> string {\n client GPT4Turbo\n prompt #\"\n {{ _.role(\"system\")}}\n\n Describe this in 5 words:\n {{ classWithImage.myImage }}\n\n Tell me also what's happening here in one sentence and relate it to the word {{ classWithImage.param2 }}:\n {{ img2 }}\n \"#\n}\n\ntest TestName {\n functions [DescribeImage]\n args {\n img { url \"https://imgs.xkcd.com/comics/standards.png\"}\n }\n}\n", "fiddle-examples/symbol-tuning.baml": "enum Category3 {\n Refund @alias(\"k1\")\n @description(\"Customer wants to refund a product\")\n\n CancelOrder @alias(\"k2\")\n @description(\"Customer wants to cancel an order\")\n\n TechnicalSupport @alias(\"k3\")\n @description(\"Customer needs help with a technical issue unrelated to account creation or login\")\n\n AccountIssue @alias(\"k4\")\n @description(\"Specifically relates to account-login or account-creation\")\n\n Question @alias(\"k5\")\n @description(\"Customer has a question\")\n}\n\nfunction ClassifyMessage3(input: string) -> Category {\n client GPT4\n\n prompt #\"\n Classify the following INPUT into ONE\n of the following categories:\n\n INPUT: {{ input }}\n\n {{ ctx.output_format }}\n\n Response:\n \"#\n}", - "generators.baml": "generator lang_python {\n output_type python/pydantic\n output_dir \"../python\"\n version \"0.55.3\"\n}\n\ngenerator lang_typescript {\n output_type typescript\n output_dir \"../typescript\"\n version \"0.55.3\"\n}\n\ngenerator lang_ruby {\n output_type ruby/sorbet\n output_dir \"../ruby\"\n version \"0.55.3\"\n}\n\ngenerator openapi {\n output_type rest/openapi\n output_dir \"../openapi\"\n version \"0.55.3\"\n on_generate \"rm .gitignore\"\n}\n", + "generators.baml": "generator lang_python {\n output_type python/pydantic\n output_dir \"../python\"\n version \"0.56.0\"\n}\n\ngenerator lang_typescript {\n output_type typescript\n output_dir \"../typescript\"\n version \"0.56.0\"\n}\n\ngenerator lang_ruby {\n output_type ruby/sorbet\n output_dir \"../ruby\"\n version \"0.56.0\"\n}\n\ngenerator openapi {\n output_type rest/openapi\n output_dir \"../openapi\"\n version \"0.56.0\"\n on_generate \"rm .gitignore\"\n}\n", "test-files/aliases/classes.baml": "class TestClassAlias {\n key string @alias(\"key-dash\") @description(#\"\n This is a description for key\n af asdf\n \"#)\n key2 string @alias(\"key21\")\n key3 string @alias(\"key with space\")\n key4 string //unaliased\n key5 string @alias(\"key.with.punctuation/123\")\n}\n\nfunction FnTestClassAlias(input: string) -> TestClassAlias {\n client GPT35\n prompt #\"\n {{ctx.output_format}}\n \"#\n}\n\ntest FnTestClassAlias {\n functions [FnTestClassAlias]\n args {\n input \"example input\"\n }\n}\n", "test-files/aliases/enums.baml": "enum TestEnum {\n A @alias(\"k1\") @description(#\"\n User is angry\n \"#)\n B @alias(\"k22\") @description(#\"\n User is happy\n \"#)\n // tests whether k1 doesnt incorrectly get matched with k11\n C @alias(\"k11\") @description(#\"\n User is sad\n \"#)\n D @alias(\"k44\") @description(\n User is confused\n )\n E @description(\n User is excited\n )\n F @alias(\"k5\") // only alias\n \n G @alias(\"k6\") @description(#\"\n User is bored\n With a long description\n \"#)\n \n @@alias(\"Category\")\n}\n\nfunction FnTestAliasedEnumOutput(input: string) -> TestEnum {\n client GPT35\n prompt #\"\n Classify the user input into the following category\n \n {{ ctx.output_format }}\n\n {{ _.role('user') }}\n {{input}}\n\n {{ _.role('assistant') }}\n Category ID:\n \"#\n}\n\ntest FnTestAliasedEnumOutput {\n functions [FnTestAliasedEnumOutput]\n args {\n input \"mehhhhh\"\n }\n}", "test-files/comments/comments.baml": "// add some functions, classes, enums etc with comments all over.", diff --git a/integ-tests/ruby/Rakefile b/integ-tests/ruby/Rakefile index 03f1c7405..aedb3eb15 100644 --- a/integ-tests/ruby/Rakefile +++ b/integ-tests/ruby/Rakefile @@ -10,7 +10,7 @@ end Rake::TestTask.new do |t| t.libs << "../../engine/language_client_ruby/lib" t.libs << "baml_client" - t.test_files = FileList["test_filtered.rb"] - # t.test_files = FileList["test_*.rb"] + # t.test_files = FileList["test_filtered.rb"] + t.test_files = FileList["test_*.rb"] t.options = '--verbose' end \ No newline at end of file diff --git a/integ-tests/ruby/baml_client/inlined.rb b/integ-tests/ruby/baml_client/inlined.rb index f40c169f7..c2d277bbf 100644 --- a/integ-tests/ruby/baml_client/inlined.rb +++ b/integ-tests/ruby/baml_client/inlined.rb @@ -25,7 +25,7 @@ module Inlined "fiddle-examples/extract-receipt-info.baml" => "class ReceiptItem {\n name string\n description string?\n quantity int\n price float\n}\n\nclass ReceiptInfo {\n items ReceiptItem[]\n total_cost float?\n}\n\nfunction ExtractReceiptInfo(email: string) -> ReceiptInfo {\n client GPT4o\n prompt #\"\n Given the receipt below:\n\n ```\n {{email}}\n ```\n\n {{ ctx.output_format }}\n \"#\n}\n\n", "fiddle-examples/images/image.baml" => "function DescribeImage(img: image) -> string {\n client GPT4o\n prompt #\"\n {{ _.role(\"user\") }}\n\n\n Describe the image below in 20 words:\n {{ img }}\n \"#\n\n}\n\nclass FakeImage {\n url string\n}\n\nclass ClassWithImage {\n myImage image\n param2 string\n fake_image FakeImage\n}\n\n// chat role user present\nfunction DescribeImage2(classWithImage: ClassWithImage, img2: image) -> string { \n client GPT4Turbo\n prompt #\"\n {{ _.role(\"user\") }}\n You should return 2 answers that answer the following commands.\n\n 1. Describe this in 5 words:\n {{ classWithImage.myImage }}\n\n 2. Also tell me what's happening here in one sentence:\n {{ img2 }}\n \"#\n}\n\n// no chat role\nfunction DescribeImage3(classWithImage: ClassWithImage, img2: image) -> string {\n client GPT4Turbo\n prompt #\"\n Describe this in 5 words:\n {{ classWithImage.myImage }}\n\n Tell me also what's happening here in one sentence and relate it to the word {{ classWithImage.param2 }}:\n {{ img2 }}\n \"#\n}\n\n\n// system prompt and chat prompt\nfunction DescribeImage4(classWithImage: ClassWithImage, img2: image) -> string {\n client GPT4Turbo\n prompt #\"\n {{ _.role(\"system\")}}\n\n Describe this in 5 words:\n {{ classWithImage.myImage }}\n\n Tell me also what's happening here in one sentence and relate it to the word {{ classWithImage.param2 }}:\n {{ img2 }}\n \"#\n}\n\ntest TestName {\n functions [DescribeImage]\n args {\n img { url \"https://imgs.xkcd.com/comics/standards.png\"}\n }\n}\n", "fiddle-examples/symbol-tuning.baml" => "enum Category3 {\n Refund @alias(\"k1\")\n @description(\"Customer wants to refund a product\")\n\n CancelOrder @alias(\"k2\")\n @description(\"Customer wants to cancel an order\")\n\n TechnicalSupport @alias(\"k3\")\n @description(\"Customer needs help with a technical issue unrelated to account creation or login\")\n\n AccountIssue @alias(\"k4\")\n @description(\"Specifically relates to account-login or account-creation\")\n\n Question @alias(\"k5\")\n @description(\"Customer has a question\")\n}\n\nfunction ClassifyMessage3(input: string) -> Category {\n client GPT4\n\n prompt #\"\n Classify the following INPUT into ONE\n of the following categories:\n\n INPUT: {{ input }}\n\n {{ ctx.output_format }}\n\n Response:\n \"#\n}", - "generators.baml" => "generator lang_python {\n output_type python/pydantic\n output_dir \"../python\"\n version \"0.55.3\"\n}\n\ngenerator lang_typescript {\n output_type typescript\n output_dir \"../typescript\"\n version \"0.55.3\"\n}\n\ngenerator lang_ruby {\n output_type ruby/sorbet\n output_dir \"../ruby\"\n version \"0.55.3\"\n}\n\ngenerator openapi {\n output_type rest/openapi\n output_dir \"../openapi\"\n version \"0.55.3\"\n on_generate \"rm .gitignore\"\n}\n", + "generators.baml" => "generator lang_python {\n output_type python/pydantic\n output_dir \"../python\"\n version \"0.56.0\"\n}\n\ngenerator lang_typescript {\n output_type typescript\n output_dir \"../typescript\"\n version \"0.56.0\"\n}\n\ngenerator lang_ruby {\n output_type ruby/sorbet\n output_dir \"../ruby\"\n version \"0.56.0\"\n}\n\ngenerator openapi {\n output_type rest/openapi\n output_dir \"../openapi\"\n version \"0.56.0\"\n on_generate \"rm .gitignore\"\n}\n", "test-files/aliases/classes.baml" => "class TestClassAlias {\n key string @alias(\"key-dash\") @description(#\"\n This is a description for key\n af asdf\n \"#)\n key2 string @alias(\"key21\")\n key3 string @alias(\"key with space\")\n key4 string //unaliased\n key5 string @alias(\"key.with.punctuation/123\")\n}\n\nfunction FnTestClassAlias(input: string) -> TestClassAlias {\n client GPT35\n prompt #\"\n {{ctx.output_format}}\n \"#\n}\n\ntest FnTestClassAlias {\n functions [FnTestClassAlias]\n args {\n input \"example input\"\n }\n}\n", "test-files/aliases/enums.baml" => "enum TestEnum {\n A @alias(\"k1\") @description(#\"\n User is angry\n \"#)\n B @alias(\"k22\") @description(#\"\n User is happy\n \"#)\n // tests whether k1 doesnt incorrectly get matched with k11\n C @alias(\"k11\") @description(#\"\n User is sad\n \"#)\n D @alias(\"k44\") @description(\n User is confused\n )\n E @description(\n User is excited\n )\n F @alias(\"k5\") // only alias\n \n G @alias(\"k6\") @description(#\"\n User is bored\n With a long description\n \"#)\n \n @@alias(\"Category\")\n}\n\nfunction FnTestAliasedEnumOutput(input: string) -> TestEnum {\n client GPT35\n prompt #\"\n Classify the user input into the following category\n \n {{ ctx.output_format }}\n\n {{ _.role('user') }}\n {{input}}\n\n {{ _.role('assistant') }}\n Category ID:\n \"#\n}\n\ntest FnTestAliasedEnumOutput {\n functions [FnTestAliasedEnumOutput]\n args {\n input \"mehhhhh\"\n }\n}", "test-files/comments/comments.baml" => "// add some functions, classes, enums etc with comments all over.", diff --git a/integ-tests/typescript/baml_client/inlinedbaml.ts b/integ-tests/typescript/baml_client/inlinedbaml.ts index 4706bde54..6de91ca3b 100644 --- a/integ-tests/typescript/baml_client/inlinedbaml.ts +++ b/integ-tests/typescript/baml_client/inlinedbaml.ts @@ -26,7 +26,7 @@ const fileMap = { "fiddle-examples/extract-receipt-info.baml": "class ReceiptItem {\n name string\n description string?\n quantity int\n price float\n}\n\nclass ReceiptInfo {\n items ReceiptItem[]\n total_cost float?\n}\n\nfunction ExtractReceiptInfo(email: string) -> ReceiptInfo {\n client GPT4o\n prompt #\"\n Given the receipt below:\n\n ```\n {{email}}\n ```\n\n {{ ctx.output_format }}\n \"#\n}\n\n", "fiddle-examples/images/image.baml": "function DescribeImage(img: image) -> string {\n client GPT4o\n prompt #\"\n {{ _.role(\"user\") }}\n\n\n Describe the image below in 20 words:\n {{ img }}\n \"#\n\n}\n\nclass FakeImage {\n url string\n}\n\nclass ClassWithImage {\n myImage image\n param2 string\n fake_image FakeImage\n}\n\n// chat role user present\nfunction DescribeImage2(classWithImage: ClassWithImage, img2: image) -> string { \n client GPT4Turbo\n prompt #\"\n {{ _.role(\"user\") }}\n You should return 2 answers that answer the following commands.\n\n 1. Describe this in 5 words:\n {{ classWithImage.myImage }}\n\n 2. Also tell me what's happening here in one sentence:\n {{ img2 }}\n \"#\n}\n\n// no chat role\nfunction DescribeImage3(classWithImage: ClassWithImage, img2: image) -> string {\n client GPT4Turbo\n prompt #\"\n Describe this in 5 words:\n {{ classWithImage.myImage }}\n\n Tell me also what's happening here in one sentence and relate it to the word {{ classWithImage.param2 }}:\n {{ img2 }}\n \"#\n}\n\n\n// system prompt and chat prompt\nfunction DescribeImage4(classWithImage: ClassWithImage, img2: image) -> string {\n client GPT4Turbo\n prompt #\"\n {{ _.role(\"system\")}}\n\n Describe this in 5 words:\n {{ classWithImage.myImage }}\n\n Tell me also what's happening here in one sentence and relate it to the word {{ classWithImage.param2 }}:\n {{ img2 }}\n \"#\n}\n\ntest TestName {\n functions [DescribeImage]\n args {\n img { url \"https://imgs.xkcd.com/comics/standards.png\"}\n }\n}\n", "fiddle-examples/symbol-tuning.baml": "enum Category3 {\n Refund @alias(\"k1\")\n @description(\"Customer wants to refund a product\")\n\n CancelOrder @alias(\"k2\")\n @description(\"Customer wants to cancel an order\")\n\n TechnicalSupport @alias(\"k3\")\n @description(\"Customer needs help with a technical issue unrelated to account creation or login\")\n\n AccountIssue @alias(\"k4\")\n @description(\"Specifically relates to account-login or account-creation\")\n\n Question @alias(\"k5\")\n @description(\"Customer has a question\")\n}\n\nfunction ClassifyMessage3(input: string) -> Category {\n client GPT4\n\n prompt #\"\n Classify the following INPUT into ONE\n of the following categories:\n\n INPUT: {{ input }}\n\n {{ ctx.output_format }}\n\n Response:\n \"#\n}", - "generators.baml": "generator lang_python {\n output_type python/pydantic\n output_dir \"../python\"\n version \"0.55.3\"\n}\n\ngenerator lang_typescript {\n output_type typescript\n output_dir \"../typescript\"\n version \"0.55.3\"\n}\n\ngenerator lang_ruby {\n output_type ruby/sorbet\n output_dir \"../ruby\"\n version \"0.55.3\"\n}\n\ngenerator openapi {\n output_type rest/openapi\n output_dir \"../openapi\"\n version \"0.55.3\"\n on_generate \"rm .gitignore\"\n}\n", + "generators.baml": "generator lang_python {\n output_type python/pydantic\n output_dir \"../python\"\n version \"0.56.0\"\n}\n\ngenerator lang_typescript {\n output_type typescript\n output_dir \"../typescript\"\n version \"0.56.0\"\n}\n\ngenerator lang_ruby {\n output_type ruby/sorbet\n output_dir \"../ruby\"\n version \"0.56.0\"\n}\n\ngenerator openapi {\n output_type rest/openapi\n output_dir \"../openapi\"\n version \"0.56.0\"\n on_generate \"rm .gitignore\"\n}\n", "test-files/aliases/classes.baml": "class TestClassAlias {\n key string @alias(\"key-dash\") @description(#\"\n This is a description for key\n af asdf\n \"#)\n key2 string @alias(\"key21\")\n key3 string @alias(\"key with space\")\n key4 string //unaliased\n key5 string @alias(\"key.with.punctuation/123\")\n}\n\nfunction FnTestClassAlias(input: string) -> TestClassAlias {\n client GPT35\n prompt #\"\n {{ctx.output_format}}\n \"#\n}\n\ntest FnTestClassAlias {\n functions [FnTestClassAlias]\n args {\n input \"example input\"\n }\n}\n", "test-files/aliases/enums.baml": "enum TestEnum {\n A @alias(\"k1\") @description(#\"\n User is angry\n \"#)\n B @alias(\"k22\") @description(#\"\n User is happy\n \"#)\n // tests whether k1 doesnt incorrectly get matched with k11\n C @alias(\"k11\") @description(#\"\n User is sad\n \"#)\n D @alias(\"k44\") @description(\n User is confused\n )\n E @description(\n User is excited\n )\n F @alias(\"k5\") // only alias\n \n G @alias(\"k6\") @description(#\"\n User is bored\n With a long description\n \"#)\n \n @@alias(\"Category\")\n}\n\nfunction FnTestAliasedEnumOutput(input: string) -> TestEnum {\n client GPT35\n prompt #\"\n Classify the user input into the following category\n \n {{ ctx.output_format }}\n\n {{ _.role('user') }}\n {{input}}\n\n {{ _.role('assistant') }}\n Category ID:\n \"#\n}\n\ntest FnTestAliasedEnumOutput {\n functions [FnTestAliasedEnumOutput]\n args {\n input \"mehhhhh\"\n }\n}", "test-files/comments/comments.baml": "// add some functions, classes, enums etc with comments all over.", diff --git a/integ-tests/typescript/test-report.html b/integ-tests/typescript/test-report.html index 427dffbfc..cd2a14420 100644 --- a/integ-tests/typescript/test-report.html +++ b/integ-tests/typescript/test-report.html @@ -257,9 +257,11 @@ font-size: 1rem; padding: 0 0.5rem; } -

Test Report

Started: 2024-09-11 16:59:30
Suites (1)
0 passed
1 failed
0 pending
Tests (44)
40 passed
4 failed
0 pending
Integ tests > should work for all inputs
single bool
passed
0.372s
Integ tests > should work for all inputs
single string list
passed
0.464s
Integ tests > should work for all inputs
single class
passed
0.422s
Integ tests > should work for all inputs
multiple classes
passed
0.472s
Integ tests > should work for all inputs
single enum list
passed
0.369s
Integ tests > should work for all inputs
single float
passed
0.434s
Integ tests > should work for all inputs
single int
passed
0.437s
Integ tests > should work for all inputs
single optional string
passed
0.349s
Integ tests > should work for all inputs
single map string to string
passed
0.575s
Integ tests > should work for all inputs
single map string to class
passed
0.55s
Integ tests > should work for all inputs
single map string to map
passed
0.578s
Integ tests
should work for all outputs
passed
3.245s
Integ tests
works with retries1
passed
0.722s
Integ tests
works with retries2
passed
1.798s
Integ tests
works with fallbacks
passed
1.319s
Integ tests
should work with image from url
passed
8.244s
Integ tests
should work with image from base 64
passed
4.819s
Integ tests
should work with audio base 64
passed
1s
Integ tests
should work with audio from url
passed
1.168s
Integ tests
should support streaming in OpenAI
passed
2.536s
Integ tests
should support streaming in Gemini
passed
8.591s
Integ tests
should support AWS
passed
3.18s
Integ tests
should support streaming in AWS
passed
2.751s
Integ tests
should support OpenAI shorthand
passed
4.863s
Integ tests
should support OpenAI shorthand streaming
failed
30.001s
Error: thrown: "Exceeded timeout of 30000 ms for a test.
+

Test Report

Started: 2024-09-20 13:21:04
Suites (1)
0 passed
1 failed
0 pending
Tests (44)
39 passed
5 failed
0 pending
Integ tests > should work for all inputs
single bool
passed
0.452s
Integ tests > should work for all inputs
single string list
passed
0.471s
Integ tests > should work for all inputs
single class
passed
0.449s
Integ tests > should work for all inputs
multiple classes
passed
0.523s
Integ tests > should work for all inputs
single enum list
passed
0.416s
Integ tests > should work for all inputs
single float
passed
0.382s
Integ tests > should work for all inputs
single int
passed
0.408s
Integ tests > should work for all inputs
single optional string
passed
0.235s
Integ tests > should work for all inputs
single map string to string
passed
0.458s
Integ tests > should work for all inputs
single map string to class
passed
0.627s
Integ tests > should work for all inputs
single map string to map
passed
0.608s
Integ tests
should work for all outputs
passed
3.145s
Integ tests
works with retries1
passed
0.82s
Integ tests
works with retries2
passed
1.893s
Integ tests
works with fallbacks
passed
1.317s
Integ tests
should work with image from url
passed
1.158s
Integ tests
should work with image from base 64
passed
0.912s
Integ tests
should work with audio base 64
passed
0.902s
Integ tests
should work with audio from url
passed
0.927s
Integ tests
should support streaming in OpenAI
passed
3.463s
Integ tests
should support streaming in Gemini
failed
1.719s
Error: BamlError: BamlClientError: BamlClientHttpError: LLM call failed: LLMErrorResponse { client: "Gemini", model: Some("gemini-1.5-pro-001"), prompt: Chat([RenderedChatMessage { role: "user", allow_duplicate_role: false, parts: [Text("Write a nice short story about Dr. Pepper")] }]), request_options: {"safetySettings": Object {"threshold": String("BLOCK_LOW_AND_ABOVE"), "category": String("HARM_CATEGORY_HATE_SPEECH")}}, start_time: SystemTime { tv_sec: 1726863685, tv_nsec: 23978000 }, latency: 1.650054958s, message: "Failed to parse event: Error(\"missing field `content`\", line: 1, column: 359)", code: UnsupportedResponse(2) }
+    at BamlStream.parsed [as getFinalResponse] (/Users/sam/baml/engine/language_client_typescript/stream.js:58:39)
+    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:209:19)
Integ tests
should support AWS
passed
2.307s
Integ tests
should support streaming in AWS
passed
2.125s
Integ tests
should support OpenAI shorthand
failed
5.002s
Error: thrown: "Exceeded timeout of 5000 ms for a test.
 Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
-    at it (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:245:3)
+    at it (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:240:3)
     at _dispatchDescribe (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/index.js:91:26)
     at describe (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/index.js:55:5)
     at Object.describe (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:25:1)
@@ -269,13 +271,9 @@
     at jestAdapter (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
     at processTicksAndRejections (node:internal/process/task_queues:95:5)
     at runTestInternal (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)
-    at runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)
Integ tests
should support anthropic shorthand
passed
2.656s
Integ tests
should support anthropic shorthand streaming
passed
3.969s
Integ tests
should support streaming without iterating
passed
3.924s
Integ tests
should support streaming in Claude
passed
1.215s
Integ tests
should support vertex
failed
0.001s
Error: BamlError: BamlClientError: Something went wrong with the LLM client: LLM call failed: LLMErrorResponse { client: "Vertex", model: None, prompt: Chat([RenderedChatMessage { role: "user", allow_duplicate_role: false, parts: [Text("Write a nice short story about Donkey Kong")] }]), request_options: {}, start_time: SystemTime { tv_sec: 1726099261, tv_nsec: 507911000 }, latency: 106.375µs, message: "Error {\n    context: \"Failed to build request\",\n    source: \"Service account not found\",\n}", code: Other(2) }
-    at BamlAsyncClient.parsed [as TestVertex] (/Users/sam/baml/integ-tests/typescript/baml_client/async_client.ts:1258:16)
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:282:17)
Integ tests
supports tracing sync
passed
0.004s
Integ tests
supports tracing async
passed
4.273s
Integ tests
should work with dynamic types single
passed
0.801s
Integ tests
should work with dynamic types enum
passed
1.09s
Integ tests
should work with dynamic types class
passed
0.899s
Integ tests
should work with dynamic inputs class
passed
0.585s
Integ tests
should work with dynamic inputs list
passed
0.886s
Integ tests
should work with dynamic output map
passed
0.886s
Integ tests
should work with dynamic output union
passed
2.106s
Integ tests
should work with nested classes
failed
0.104s
Error: BamlError: BamlClientError: Something went wrong with the LLM client: LLM call failed: LLMErrorResponse { client: "Ollama", model: None, prompt: Chat([RenderedChatMessage { role: "system", allow_duplicate_role: false, parts: [Text("Return a made up json blob that matches this schema:\nAnswer in JSON using this schema:\n{\n  prop1: string,\n  prop2: {\n    prop1: string,\n    prop2: string,\n    inner: {\n      prop2: int,\n      prop3: float,\n    },\n  },\n}\n---\n\nJSON:")] }]), request_options: {"model": String("llama2")}, start_time: SystemTime { tv_sec: 1726099273, tv_nsec: 43998000 }, latency: 1.256833ms, message: "reqwest::Error { kind: Request, url: Url { scheme: \"http\", cannot_be_a_base: false, username: \"\", password: None, host: Some(Domain(\"localhost\")), port: Some(11434), path: \"/v1/chat/completions\", query: None, fragment: None }, source: hyper_util::client::legacy::Error(Connect, ConnectError(\"tcp connect error\", Os { code: 61, kind: ConnectionRefused, message: \"Connection refused\" })) }", code: Other(2) }
-    at BamlStream.parsed [as getFinalResponse] (/Users/sam/baml/engine/language_client_typescript/stream.js:58:39)
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:522:19)
Integ tests
should work with dynamic client
passed
0.475s
Integ tests
should work with 'onLogEvent'
passed
1.852s
Integ tests
should work with a sync client
passed
0.681s
Integ tests
should raise an error when appropriate
failed
30.002s
Error: thrown: "Exceeded timeout of 30000 ms for a test.
+    at runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)
Integ tests
should support OpenAI shorthand streaming
failed
5.001s
Error: thrown: "Exceeded timeout of 5000 ms for a test.
 Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
-    at it (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:558:3)
+    at it (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:245:3)
     at _dispatchDescribe (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/index.js:91:26)
     at describe (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/index.js:55:5)
     at Object.describe (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:25:1)
@@ -285,465 +283,8 @@
     at jestAdapter (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
     at processTicksAndRejections (node:internal/process/task_queues:95:5)
     at runTestInternal (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)
-    at runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)
Console Log
    at Object.log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:40:15)
-    at Promise.then.completed (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)
-    at new Promise (<anonymous>)
-    at callAsyncCircusFn (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)
-    at _callCircusTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)
-    at _runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)
-    at run (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)
-    at runAndTransformResultsToJestFormat (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
-    at jestAdapter (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
-    at runTestInternal (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)
-    at runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)
calling with class
    at Object.log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:46:15)
got response key
-true
-52
    at Object.log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:132:15)
Expected error Error: BamlError: BamlClientError: BamlClientHttpError: LLM call failed: LLMErrorResponse { client: "RetryClientConstant", model: None, prompt: Chat([RenderedChatMessage { role: "system", allow_duplicate_role: false, parts: [Text("Say a haiku")] }]), request_options: {"model": String("gpt-3.5-turbo")}, start_time: SystemTime { tv_sec: 1726099179, tv_nsec: 326712000 }, latency: 84.47ms, message: "Request failed: {\n    \"error\": {\n        \"message\": \"Incorrect API key provided: blah. You can find your API key at https://platform.openai.com/account/api-keys.\",\n        \"type\": \"invalid_request_error\",\n        \"param\": null,\n        \"code\": \"invalid_api_key\"\n    }\n}\n", code: InvalidAuthentication }
-    at BamlAsyncClient.parsed [as TestRetryConstant] (/Users/sam/baml/integ-tests/typescript/baml_client/async_client.ts:1226:16)
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:129:7) {
-  code: 'GenericFailure'
-}
    at Object.log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:141:15)
Expected error Error: BamlError: BamlClientError: BamlClientHttpError: LLM call failed: LLMErrorResponse { client: "RetryClientExponential", model: None, prompt: Chat([RenderedChatMessage { role: "system", allow_duplicate_role: false, parts: [Text("Say a haiku")] }]), request_options: {"model": String("gpt-3.5-turbo")}, start_time: SystemTime { tv_sec: 1726099181, tv_nsec: 161411000 }, latency: 77.229916ms, message: "Request failed: {\n    \"error\": {\n        \"message\": \"Incorrect API key provided: blahh. You can find your API key at https://platform.openai.com/account/api-keys.\",\n        \"type\": \"invalid_request_error\",\n        \"param\": null,\n        \"code\": \"invalid_api_key\"\n    }\n}\n", code: InvalidAuthentication }
-    at BamlAsyncClient.parsed [as TestRetryExponential] (/Users/sam/baml/integ-tests/typescript/baml_client/async_client.ts:1242:16)
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:138:7) {
-  code: 'GenericFailure'
-}
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:294:15)
-    at func (/Users/sam/baml/engine/language_client_typescript/async_context_vars.js:69:38)
-    at AsyncLocalStorage.run (node:async_hooks:346:14)
-    at run (/Users/sam/baml/engine/language_client_typescript/async_context_vars.js:67:22)
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:303:5)
-    at Promise.then.completed (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)
-    at new Promise (<anonymous>)
-    at callAsyncCircusFn (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)
-    at _callCircusTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)
-    at _runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)
-    at run (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)
-    at runAndTransformResultsToJestFormat (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
-    at jestAdapter (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
-    at runTestInternal (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)
-    at runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)
hello world
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:297:15)
-    at func (/Users/sam/baml/engine/language_client_typescript/async_context_vars.js:69:38)
-    at AsyncLocalStorage.run (node:async_hooks:346:14)
-    at run (/Users/sam/baml/engine/language_client_typescript/async_context_vars.js:67:22)
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:303:5)
-    at Promise.then.completed (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)
-    at new Promise (<anonymous>)
-    at callAsyncCircusFn (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)
-    at _callCircusTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)
-    at _runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)
-    at run (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)
-    at runAndTransformResultsToJestFormat (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
-    at jestAdapter (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
-    at runTestInternal (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)
-    at runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)
dummyFunc returned
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:300:15)
-    at func (/Users/sam/baml/engine/language_client_typescript/async_context_vars.js:69:38)
-    at AsyncLocalStorage.run (node:async_hooks:346:14)
-    at run (/Users/sam/baml/engine/language_client_typescript/async_context_vars.js:67:22)
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:303:5)
-    at Promise.then.completed (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)
-    at new Promise (<anonymous>)
-    at callAsyncCircusFn (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)
-    at _callCircusTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)
-    at _runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)
-    at run (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)
-    at runAndTransformResultsToJestFormat (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
-    at jestAdapter (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
-    at runTestInternal (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)
-    at runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)
dummyFunc2 returned
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:315:15)
-    at runNextTicks (node:internal/process/task_queues:60:5)
-    at listOnTimeout (node:internal/timers:540:9)
-    at processTimers (node:internal/timers:514:7)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 0)
-    at dummyFn (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:321:22)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 0)
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:333:5)
samDummyNested nested1
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:315:15)
-    at runNextTicks (node:internal/process/task_queues:60:5)
-    at listOnTimeout (node:internal/timers:540:9)
-    at processTimers (node:internal/timers:514:7)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 1)
-    at dummyFn (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:321:22)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 0)
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:333:5)
samDummyNested nested2
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:315:15)
-    at runNextTicks (node:internal/process/task_queues:60:5)
-    at listOnTimeout (node:internal/timers:540:9)
-    at processTimers (node:internal/timers:514:7)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 2)
-    at dummyFn (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:321:22)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 0)
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:333:5)
samDummyNested nested3
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:326:15)
-    at runNextTicks (node:internal/process/task_queues:60:5)
-    at listOnTimeout (node:internal/timers:540:9)
-    at processTimers (node:internal/timers:514:7)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 0)
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:333:5)
dummy hi1
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:315:15)
-    at runNextTicks (node:internal/process/task_queues:60:5)
-    at listOnTimeout (node:internal/timers:540:9)
-    at processTimers (node:internal/timers:514:7)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 0)
-    at dummyFn (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:321:22)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 1)
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:333:5)
samDummyNested nested1
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:315:15)
-    at runNextTicks (node:internal/process/task_queues:60:5)
-    at listOnTimeout (node:internal/timers:540:9)
-    at processTimers (node:internal/timers:514:7)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 1)
-    at dummyFn (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:321:22)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 1)
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:333:5)
samDummyNested nested2
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:315:15)
-    at runNextTicks (node:internal/process/task_queues:60:5)
-    at listOnTimeout (node:internal/timers:540:9)
-    at processTimers (node:internal/timers:514:7)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 2)
-    at dummyFn (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:321:22)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 1)
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:333:5)
samDummyNested nested3
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:326:15)
-    at runNextTicks (node:internal/process/task_queues:60:5)
-    at listOnTimeout (node:internal/timers:540:9)
-    at processTimers (node:internal/timers:514:7)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 1)
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:333:5)
dummy hi2
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:315:15)
-    at runNextTicks (node:internal/process/task_queues:60:5)
-    at listOnTimeout (node:internal/timers:540:9)
-    at processTimers (node:internal/timers:514:7)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 0)
-    at dummyFn (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:321:22)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 2)
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:333:5)
samDummyNested nested1
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:315:15)
-    at runNextTicks (node:internal/process/task_queues:60:5)
-    at listOnTimeout (node:internal/timers:540:9)
-    at processTimers (node:internal/timers:514:7)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 1)
-    at dummyFn (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:321:22)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 2)
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:333:5)
samDummyNested nested2
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:315:15)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 2)
-    at dummyFn (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:321:22)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 2)
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:333:5)
samDummyNested nested3
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:326:15)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 2)
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:333:5)
dummy hi3
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:340:15)
-    at func (/Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:44)
-    at AsyncLocalStorage.run (node:async_hooks:346:14)
-    at run (/Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:28)
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:356:5)
hello world
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:315:15)
-    at runNextTicks (node:internal/process/task_queues:60:5)
-    at listOnTimeout (node:internal/timers:540:9)
-    at processTimers (node:internal/timers:514:7)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 0)
-    at dummyFn (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:321:22)
samDummyNested nested1
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:315:15)
-    at runNextTicks (node:internal/process/task_queues:60:5)
-    at listOnTimeout (node:internal/timers:540:9)
-    at processTimers (node:internal/timers:514:7)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 1)
-    at dummyFn (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:321:22)
samDummyNested nested2
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:315:15)
-    at runNextTicks (node:internal/process/task_queues:60:5)
-    at listOnTimeout (node:internal/timers:540:9)
-    at processTimers (node:internal/timers:514:7)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 2)
-    at dummyFn (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:321:22)
samDummyNested nested3
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:326:15)
-    at runNextTicks (node:internal/process/task_queues:60:5)
-    at listOnTimeout (node:internal/timers:540:9)
-    at processTimers (node:internal/timers:514:7)
dummy firstDummyFuncArg
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:315:15)
-    at runNextTicks (node:internal/process/task_queues:60:5)
-    at listOnTimeout (node:internal/timers:540:9)
-    at processTimers (node:internal/timers:514:7)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 0)
-    at dummyFn (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:321:22)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at /Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:345:20
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:339:17)
samDummyNested nested1
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:315:15)
-    at runNextTicks (node:internal/process/task_queues:60:5)
-    at listOnTimeout (node:internal/timers:540:9)
-    at processTimers (node:internal/timers:514:7)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 1)
-    at dummyFn (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:321:22)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at /Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:345:20
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:339:17)
samDummyNested nested2
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:315:15)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 2)
-    at dummyFn (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:321:22)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at /Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:345:20
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:339:17)
samDummyNested nested3
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:326:15)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at /Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:345:20
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:339:17)
dummy secondDummyFuncArg
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:315:15)
-    at runNextTicks (node:internal/process/task_queues:60:5)
-    at listOnTimeout (node:internal/timers:540:9)
-    at processTimers (node:internal/timers:514:7)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 0)
-    at dummyFn (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:321:22)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at /Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:353:20
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:339:17)
samDummyNested nested1
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:315:15)
-    at runNextTicks (node:internal/process/task_queues:60:5)
-    at listOnTimeout (node:internal/timers:540:9)
-    at processTimers (node:internal/timers:514:7)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 1)
-    at dummyFn (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:321:22)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at /Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:353:20
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:339:17)
samDummyNested nested2
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:315:15)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at async Promise.all (index 2)
-    at dummyFn (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:321:22)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at /Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:353:20
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:339:17)
samDummyNested nested3
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:326:15)
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at /Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:353:20
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:38
-    at /Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:13
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:339:17)
dummy thirdDummyFuncArg
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:359:15)
-    at func (/Users/sam/baml/engine/language_client_typescript/async_context_vars.js:90:44)
-    at AsyncLocalStorage.run (node:async_hooks:346:14)
-    at run (/Users/sam/baml/engine/language_client_typescript/async_context_vars.js:88:28)
-    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:365:5)
hello world
    at Object.log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:369:13)
stats {"failed":0,"started":30,"finalized":30,"submitted":30,"sent":30,"done":30}
    at Object.log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:393:13)
[
-  {
-    name: 'Harrison',
-    hair_color: 'BLACK',
-    last_name: null,
-    height: 1.83,
-    hobbies: [ 'SPORTS' ]
-  }
-]
    at Object.log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:450:13)
-    at Promise.then.completed (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)
-    at new Promise (<anonymous>)
-    at callAsyncCircusFn (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)
-    at _callCircusTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)
-    at _runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)
-    at run (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)
-    at runAndTransformResultsToJestFormat (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
-    at jestAdapter (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
-    at runTestInternal (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)
-    at runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)
[
-  [
-    'hair_color',
-    ClassPropertyBuilder { bldr: ClassPropertyBuilder {} }
-  ],
-  [
-    'attributes',
-    ClassPropertyBuilder { bldr: ClassPropertyBuilder {} }
-  ]
-]
    at Object.log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:452:15)
-    at Promise.then.completed (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)
-    at new Promise (<anonymous>)
-    at callAsyncCircusFn (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)
-    at _callCircusTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)
-    at _runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)
-    at run (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)
-    at runAndTransformResultsToJestFormat (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
-    at jestAdapter (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
-    at runTestInternal (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)
-    at runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)
Property: hair_color
    at Object.log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:452:15)
-    at Promise.then.completed (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)
-    at new Promise (<anonymous>)
-    at callAsyncCircusFn (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)
-    at _callCircusTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)
-    at _runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)
-    at run (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)
-    at runAndTransformResultsToJestFormat (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
-    at jestAdapter (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
-    at runTestInternal (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)
-    at runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)
Property: attributes
    at Object.log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:460:13)
final  {
-  hair_color: 'black',
-  attributes: { eye_color: 'blue', facial_hair: 'beard' }
-}
    at Object.log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:484:13)
-    at Promise.then.completed (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)
-    at new Promise (<anonymous>)
-    at callAsyncCircusFn (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)
-    at _callCircusTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)
-    at _runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)
-    at run (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)
-    at runAndTransformResultsToJestFormat (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
-    at jestAdapter (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
-    at runTestInternal (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)
-    at runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)
[
-  [
-    'hair_color',
-    ClassPropertyBuilder { bldr: ClassPropertyBuilder {} }
-  ],
-  [
-    'attributes',
-    ClassPropertyBuilder { bldr: ClassPropertyBuilder {} }
-  ],
-  [ 'height', ClassPropertyBuilder { bldr: ClassPropertyBuilder {} } ]
-]
    at Object.log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:486:15)
-    at Promise.then.completed (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)
-    at new Promise (<anonymous>)
-    at callAsyncCircusFn (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)
-    at _callCircusTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)
-    at _runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)
-    at run (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)
-    at runAndTransformResultsToJestFormat (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
-    at jestAdapter (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
-    at runTestInternal (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)
-    at runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)
Property: hair_color
    at Object.log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:486:15)
-    at Promise.then.completed (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)
-    at new Promise (<anonymous>)
-    at callAsyncCircusFn (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)
-    at _callCircusTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)
-    at _runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)
-    at run (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)
-    at runAndTransformResultsToJestFormat (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
-    at jestAdapter (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
-    at runTestInternal (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)
-    at runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)
Property: attributes
    at Object.log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:486:15)
-    at Promise.then.completed (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)
-    at new Promise (<anonymous>)
-    at callAsyncCircusFn (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)
-    at _callCircusTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)
-    at _runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)
-    at _runTestsForDescribeBlock (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)
-    at run (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)
-    at runAndTransformResultsToJestFormat (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
-    at jestAdapter (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
-    at runTestInternal (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)
-    at runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)
Property: height
    at Object.log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:494:13)
final  {
-  hair_color: 'black',
-  attributes: { eye_color: 'blue', facial_hair: 'beard', age: '30' },
-  height: { feet: 6, inches: null }
-}
    at Object.log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:505:13)
final  {
-  hair_color: 'black',
-  attributes: { eye_color: 'blue', facial_hair: 'beard' },
-  height: { meters: 1.8 }
-}
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:543:15)
-    at callback (/Users/sam/baml/engine/language_client_typescript/async_context_vars.js:56:17)
onLogEvent {
-  metadata: {
-    eventId: '47d838f7-354e-4e50-b663-6970338f0da2',
-    rootEventId: '47d838f7-354e-4e50-b663-6970338f0da2'
-  },
-  prompt: '[\n' +
-    '  {\n' +
-    '    "role": "system",\n' +
-    '    "content": [\n' +
-    '      {\n' +
-    '        "text": "Return this value back to me: [\\"a\\", \\"b\\", \\"c\\"]"\n' +
-    '      }\n' +
-    '    ]\n' +
-    '  }\n' +
-    ']',
-  rawOutput: '["a", "b", "c"]',
-  parsedOutput: '["a", "b", "c"]',
-  startTime: '2024-09-12T00:01:13.936Z'
-}
    at log (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:543:15)
-    at callback (/Users/sam/baml/engine/language_client_typescript/async_context_vars.js:56:17)
onLogEvent {
-  metadata: {
-    eventId: '7a596b9f-e34c-425e-be69-2681adea161b',
-    rootEventId: '7a596b9f-e34c-425e-be69-2681adea161b'
-  },
-  prompt: '[\n' +
-    '  {\n' +
-    '    "role": "system",\n' +
-    '    "content": [\n' +
-    '      {\n' +
-    '        "text": "Return this value back to me: [\\"d\\", \\"e\\", \\"f\\"]"\n' +
-    '      }\n' +
-    '    ]\n' +
-    '  }\n' +
-    ']',
-  rawOutput: '["d", "e", "f"]',
-  parsedOutput: '["d", "e", "f"]',
-  startTime: '2024-09-12T00:01:14.490Z'
-}
\ No newline at end of file + at runTest (/Users/sam/baml/integ-tests/typescript/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)
Integ tests
should support anthropic shorthand
passed
2.921s
Integ tests
should support anthropic shorthand streaming
passed
2.71s
Integ tests
should support streaming without iterating
passed
2.25s
Integ tests
should support streaming in Claude
passed
1.728s
Integ tests
should support vertex
failed
0.005s
Error: BamlError: BamlClientError: Something went wrong with the LLM client: LLM call failed: LLMErrorResponse { client: "Vertex", model: None, prompt: Chat([RenderedChatMessage { role: "user", allow_duplicate_role: false, parts: [Text("Write a nice short story about Donkey Kong")] }]), request_options: {}, start_time: SystemTime { tv_sec: 1726863710, tv_nsec: 804411000 }, latency: 503.833µs, message: "Error {\n    context: \"Failed to build request\",\n    source: \"Service account not found\",\n}", code: Other(2) }
+    at BamlAsyncClient.parsed [as TestVertex] (/Users/sam/baml/integ-tests/typescript/baml_client/async_client.ts:1274:16)
+    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:282:17)
Integ tests
supports tracing sync
passed
0.012s
Integ tests
supports tracing async
passed
4.005s
Integ tests
should work with dynamic types single
passed
0.914s
Integ tests
should work with dynamic types enum
passed
0.618s
Integ tests
should work with dynamic types class
passed
1.14s
Integ tests
should work with dynamic inputs class
passed
0.49s
Integ tests
should work with dynamic inputs list
passed
0.596s
Integ tests
should work with dynamic output map
passed
0.938s
Integ tests
should work with dynamic output union
passed
1.798s
Integ tests
should work with nested classes
failed
0.104s
Error: BamlError: BamlClientError: Something went wrong with the LLM client: LLM call failed: LLMErrorResponse { client: "Ollama", model: None, prompt: Chat([RenderedChatMessage { role: "system", allow_duplicate_role: false, parts: [Text("Return a made up json blob that matches this schema:\nAnswer in JSON using this schema:\n{\n  prop1: string,\n  prop2: {\n    prop1: string,\n    prop2: string,\n    inner: {\n      prop2: int,\n      prop3: float,\n    },\n  },\n}\n---\n\nJSON:")] }]), request_options: {"model": String("llama2")}, start_time: SystemTime { tv_sec: 1726863721, tv_nsec: 326392000 }, latency: 2.065375ms, message: "reqwest::Error { kind: Request, url: Url { scheme: \"http\", cannot_be_a_base: false, username: \"\", password: None, host: Some(Domain(\"localhost\")), port: Some(11434), path: \"/v1/chat/completions\", query: None, fragment: None }, source: hyper_util::client::legacy::Error(Connect, ConnectError(\"tcp connect error\", Os { code: 61, kind: ConnectionRefused, message: \"Connection refused\" })) }", code: Other(2) }
+    at BamlStream.parsed [as getFinalResponse] (/Users/sam/baml/engine/language_client_typescript/stream.js:58:39)
+    at Object.<anonymous> (/Users/sam/baml/integ-tests/typescript/tests/integ-tests.test.ts:522:19)
Integ tests
should work with dynamic client
passed
0.495s
Integ tests
should work with 'onLogEvent'
passed
1.534s
Integ tests
should work with a sync client
passed
0.426s
Integ tests
should raise an error when appropriate
passed
0.836s
\ No newline at end of file diff --git a/tools/versions/engine.cfg b/tools/versions/engine.cfg index 01349a607..4eaf9b20e 100644 --- a/tools/versions/engine.cfg +++ b/tools/versions/engine.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.55.3 +current_version = 0.56.0 commit = False tag = False parse = ^(?P\d+)\.(?P\d+).(?P\d+)$ diff --git a/tools/versions/integ-tests.cfg b/tools/versions/integ-tests.cfg index 7149b086b..a0bdb0d3b 100644 --- a/tools/versions/integ-tests.cfg +++ b/tools/versions/integ-tests.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.55.3 +current_version = 0.56.0 commit = False tag = False parse = ^(?P\d+)\.(?P\d+).(?P\d+)$ diff --git a/tools/versions/python.cfg b/tools/versions/python.cfg index fe13ae77c..f02495016 100644 --- a/tools/versions/python.cfg +++ b/tools/versions/python.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.55.3 +current_version = 0.56.0 commit = False tag = False parse = ^(?P\d+)\.(?P\d+).(?P\d+)$ diff --git a/tools/versions/ruby.cfg b/tools/versions/ruby.cfg index 12e808f97..366e4c3fe 100644 --- a/tools/versions/ruby.cfg +++ b/tools/versions/ruby.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.55.3 +current_version = 0.56.0 commit = False tag = False parse = ^(?P\d+)\.(?P\d+).(?P\d+)$ diff --git a/tools/versions/typescript.cfg b/tools/versions/typescript.cfg index 319cf0a78..924fe13ea 100644 --- a/tools/versions/typescript.cfg +++ b/tools/versions/typescript.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.55.3 +current_version = 0.56.0 commit = False tag = False parse = ^(?P\d+)\.(?P\d+).(?P\d+)$ diff --git a/tools/versions/vscode.cfg b/tools/versions/vscode.cfg index cc46fdd19..b3293d905 100644 --- a/tools/versions/vscode.cfg +++ b/tools/versions/vscode.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.55.3 +current_version = 0.56.0 commit = False tag = False parse = ^(?P\d+)\.(?P\d+).(?P\d+)$ diff --git a/typescript/vscode-ext/packages/package.json b/typescript/vscode-ext/packages/package.json index cb0735985..4899b43d5 100644 --- a/typescript/vscode-ext/packages/package.json +++ b/typescript/vscode-ext/packages/package.json @@ -2,7 +2,7 @@ "name": "baml-extension", "displayName": "Baml", "description": "BAML is a DSL for AI applications.", - "version": "0.55.3", + "version": "0.56.0", "publisher": "Boundary", "repository": "https://github.com/BoundaryML/baml", "homepage": "https://www.boundaryml.com",