Commit log

8f4cfdb v0.7.0

Andrey Nering created

30a5f02 feat: add vercel provider (#129)

Kujtim Hoxha created

cf8bd23 chore(deps): bump the all group with 3 updates (#128)

Click to expand commit body
Bumps the all group with 3 updates: [github.com/RealAlexandreAI/json-repair](https://github.com/RealAlexandreAI/json-repair), [github.com/kaptinlin/jsonschema](https://github.com/kaptinlin/jsonschema) and [google.golang.org/genai](https://github.com/googleapis/go-genai).


Updates `github.com/RealAlexandreAI/json-repair` from 0.0.14 to 0.0.15
- [Release notes](https://github.com/RealAlexandreAI/json-repair/releases)
- [Changelog](https://github.com/RealAlexandreAI/json-repair/blob/main/CHANGELOG.md)
- [Commits](https://github.com/RealAlexandreAI/json-repair/compare/v0.0.14...v0.0.15)

Updates `github.com/kaptinlin/jsonschema` from 0.6.7 to 0.6.9
- [Commits](https://github.com/kaptinlin/jsonschema/compare/v0.6.7...v0.6.9)

Updates `google.golang.org/genai` from 1.43.0 to 1.44.0
- [Release notes](https://github.com/googleapis/go-genai/releases)
- [Changelog](https://github.com/googleapis/go-genai/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/go-genai/compare/v1.43.0...v1.44.0)

---
updated-dependencies:
- dependency-name: github.com/RealAlexandreAI/json-repair
  dependency-version: 0.0.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: github.com/kaptinlin/jsonschema
  dependency-version: 0.6.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: google.golang.org/genai
  dependency-version: 1.44.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

6d9ff0c chore(deps): bump the all group with 3 updates (#124)

Click to expand commit body
Bumps the all group with 3 updates: [cloud.google.com/go/auth](https://github.com/googleapis/google-cloud-go), [github.com/kaptinlin/jsonschema](https://github.com/kaptinlin/jsonschema) and [google.golang.org/genai](https://github.com/googleapis/go-genai).


Updates `cloud.google.com/go/auth` from 0.18.0 to 0.18.1
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/v0.18.0...auth/v0.18.1)

Updates `github.com/kaptinlin/jsonschema` from 0.6.6 to 0.6.7
- [Commits](https://github.com/kaptinlin/jsonschema/compare/v0.6.6...v0.6.7)

Updates `google.golang.org/genai` from 1.42.0 to 1.43.0
- [Release notes](https://github.com/googleapis/go-genai/releases)
- [Changelog](https://github.com/googleapis/go-genai/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/go-genai/compare/v1.42.0...v1.43.0)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/auth
  dependency-version: 0.18.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: github.com/kaptinlin/jsonschema
  dependency-version: 0.6.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: google.golang.org/genai
  dependency-version: 1.43.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

3e8997b Handle ToolChoiceRequired for OpenAI (#119)

Click to expand commit body
* Fix OpenAI provider to handle ToolChoiceRequired

The OpenAI provider's toOpenAiTools() function was missing a case for fantasy.ToolChoiceRequired, causing it to fall through to the default case and treat "required" as a function name.

This resulted in API errors: 'Invalid value for function_call: no function named "required" was specified in the functions parameter.

OpenAI's API supports tool_choice: "required" (added April 2024), so this fix adds the missing case to properly map ToolChoiceRequired to "required" in the OpenAI API format.

* Add test for ToolChoiceRequired handling

h8mankind created

60e7ccb chore(deps): bump the all group with 2 updates (#120)

Click to expand commit body
Bumps the all group with 2 updates: [github.com/go-viper/mapstructure/v2](https://github.com/go-viper/mapstructure) and [google.golang.org/genai](https://github.com/googleapis/go-genai).


Updates `github.com/go-viper/mapstructure/v2` from 2.4.0 to 2.5.0
- [Release notes](https://github.com/go-viper/mapstructure/releases)
- [Changelog](https://github.com/go-viper/mapstructure/blob/main/CHANGELOG.md)
- [Commits](https://github.com/go-viper/mapstructure/compare/v2.4.0...v2.5.0)

Updates `google.golang.org/genai` from 1.41.0 to 1.42.0
- [Release notes](https://github.com/googleapis/go-genai/releases)
- [Changelog](https://github.com/googleapis/go-genai/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/go-genai/compare/v1.41.0...v1.42.0)

---
updated-dependencies:
- dependency-name: github.com/go-viper/mapstructure/v2
  dependency-version: 2.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: google.golang.org/genai
  dependency-version: 1.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

d75c71e v0.6.1

Andrey Nering created

5d40603 refactor(google): couple of tiny enhancements

Andrey Nering created

73e92c0 fix(google): prevent nil pointer dereference when usage is nil in Stream (#116)

Click to expand commit body
Co-authored-by: Gabriela Bogk <gabriela.bogk@adevinta.com>

Gabriela Bogk and Gabriela Bogk created

fdfb6cf chore(deps): bump the all group with 4 updates (#115)

Click to expand commit body
Bumps the all group with 4 updates: [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2), [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2), [github.com/kaptinlin/jsonschema](https://github.com/kaptinlin/jsonschema) and [google.golang.org/genai](https://github.com/googleapis/go-genai).


Updates `github.com/aws/aws-sdk-go-v2` from 1.41.0 to 1.41.1
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.41.0...v1.41.1)

Updates `github.com/aws/aws-sdk-go-v2/config` from 1.32.6 to 1.32.7
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.32.6...v1.32.7)

Updates `github.com/kaptinlin/jsonschema` from 0.6.5 to 0.6.6
- [Commits](https://github.com/kaptinlin/jsonschema/compare/v0.6.5...v0.6.6)

Updates `google.golang.org/genai` from 1.40.0 to 1.41.0
- [Release notes](https://github.com/googleapis/go-genai/releases)
- [Changelog](https://github.com/googleapis/go-genai/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/go-genai/compare/v1.40.0...v1.41.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
  dependency-version: 1.41.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: github.com/aws/aws-sdk-go-v2/config
  dependency-version: 1.32.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: github.com/kaptinlin/jsonschema
  dependency-version: 0.6.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: google.golang.org/genai
  dependency-version: 1.41.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

e02a05b chore(examples): go mod tidy

Andrey Nering created

ee7f5ff fix: use strings.Builder for efficient string concatenation

Boris Atamanovskii created

9b6afa0 fix: add type assertion checks to prevent panics

Boris Atamanovskii created

15c65a1 v0.6.0

Andrey Nering created

a077b77 feat: allow openai-compat to use responses api (#112)

Click to expand commit body
This is needed for Copilot, but can potentially be used by other
providers in the future.

Andrey Nering created

31802ee chore(deps): bump the all group with 3 updates (#108)

Click to expand commit body
Bumps the all group with 3 updates: [cloud.google.com/go/auth](https://github.com/googleapis/google-cloud-go), [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2) and [google.golang.org/genai](https://github.com/googleapis/go-genai).


Updates `cloud.google.com/go/auth` from 0.17.0 to 0.18.0
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/v0.17.0...v0.18.0)

Updates `github.com/aws/aws-sdk-go-v2/config` from 1.27.27 to 1.32.6
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.27.27...v1.32.6)

Updates `google.golang.org/genai` from 1.39.0 to 1.40.0
- [Release notes](https://github.com/googleapis/go-genai/releases)
- [Changelog](https://github.com/googleapis/go-genai/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/go-genai/compare/v1.39.0...v1.40.0)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/auth
  dependency-version: 0.18.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/aws/aws-sdk-go-v2/config
  dependency-version: 1.32.6
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: google.golang.org/genai
  dependency-version: 1.40.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

cb7104f v0.5.5

Andrey Nering created

bdf26ca fix(aws-bedrock): address `panic` when it's not possible to load config (#105)

Andrey Nering created

1c3353a v0.5.4

Andrey Nering created

a40f43e chore(openai): add support for gpt 5.2 codex (#104)

Andrey Nering created

ba3d5db v0.5.3

Andrey Nering created

bd3314e fix(openai,openaicompat): drop empty messages with warning (#102)

Click to expand commit body
Assisted-by: Anthropic and Grok via Crush <crush@charm.land>
Co-authored-by: Crush <crush@charm.land>

Andrey Nering and Crush created

4d091c9 chore(deps): bump the all group with 4 updates (#99)

Click to expand commit body
Bumps the all group with 4 updates: [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2), [github.com/kaptinlin/jsonschema](https://github.com/kaptinlin/jsonschema), [golang.org/x/oauth2](https://github.com/golang/oauth2) and [google.golang.org/genai](https://github.com/googleapis/go-genai).


Updates `github.com/aws/aws-sdk-go-v2` from 1.40.1 to 1.41.0
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.40.1...v1.41.0)

Updates `github.com/kaptinlin/jsonschema` from 0.6.2 to 0.6.5
- [Commits](https://github.com/kaptinlin/jsonschema/compare/v0.6.2...v0.6.5)

Updates `golang.org/x/oauth2` from 0.33.0 to 0.34.0
- [Commits](https://github.com/golang/oauth2/compare/v0.33.0...v0.34.0)

Updates `google.golang.org/genai` from 1.37.0 to 1.39.0
- [Release notes](https://github.com/googleapis/go-genai/releases)
- [Changelog](https://github.com/googleapis/go-genai/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/go-genai/compare/v1.37.0...v1.39.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
  dependency-version: 1.41.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/kaptinlin/jsonschema
  dependency-version: 0.6.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: golang.org/x/oauth2
  dependency-version: 0.34.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: google.golang.org/genai
  dependency-version: 1.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

18447fa v0.5.2

Andrey Nering created

b3b0794 fix(openai): gpt 5.2 should use responses api

Andrey Nering created

68eabee fix(openai): gpt 5.1 codex max should use responses api

Andrey Nering created

9fc0a92 v0.5.1

Kujtim Hoxha created

7c80d6c fix: fix tool call result

Kujtim Hoxha created

fce1928 v0.5.0

Kujtim Hoxha created

417d406 feat: add support for media tool response (#91)

Kujtim Hoxha created

f19de9f chore(deps): bump the all group with 4 updates (#93)

Click to expand commit body
Bumps the all group with 4 updates: [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2), [github.com/aws/smithy-go](https://github.com/aws/smithy-go), [github.com/kaptinlin/jsonschema](https://github.com/kaptinlin/jsonschema) and [google.golang.org/genai](https://github.com/googleapis/go-genai).


Updates `github.com/aws/aws-sdk-go-v2` from 1.40.0 to 1.40.1
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.40.0...v1.40.1)

Updates `github.com/aws/smithy-go` from 1.23.2 to 1.24.0
- [Release notes](https://github.com/aws/smithy-go/releases)
- [Changelog](https://github.com/aws/smithy-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/smithy-go/compare/v1.23.2...v1.24.0)

Updates `github.com/kaptinlin/jsonschema` from 0.6.1 to 0.6.2
- [Commits](https://github.com/kaptinlin/jsonschema/compare/v0.6.1...v0.6.2)

Updates `google.golang.org/genai` from 1.36.0 to 1.37.0
- [Release notes](https://github.com/googleapis/go-genai/releases)
- [Changelog](https://github.com/googleapis/go-genai/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/go-genai/compare/v1.36.0...v1.37.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
  dependency-version: 1.40.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: github.com/aws/smithy-go
  dependency-version: 1.24.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/kaptinlin/jsonschema
  dependency-version: 0.6.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: google.golang.org/genai
  dependency-version: 1.37.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

9f68eec v0.4.0

Kujtim Hoxha created

4e938fe chore: add release task

Kujtim Hoxha created

baf9f07 chore: added models that support reasoning on azure (#87)

Daniel Merja created

1c6ba1f feat: improve tool execution (#88)

Click to expand commit body
* feat: improve tool execution

- makes it so we execute the tool call right after it is available and
than queues other tool calls.
- allow tools to be called in parallel (e.x for the agent tool)

* chore: simplify and rename func

* refactor: simplify code

* chore: change the signature

Kujtim Hoxha created

e031e04 fix(anthropic): drop empty messages with warning (#79)

Amolith created

d7ea6d1 v0.3.3

Andrey Nering created

4ce26fa chore: allow updating tools in prepare step (#86)

Kujtim Hoxha created

08fa737 chore(deps): bump the all group with 3 updates (#84)

Click to expand commit body
Bumps the all group with 3 updates: [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2), [github.com/kaptinlin/jsonschema](https://github.com/kaptinlin/jsonschema) and [google.golang.org/genai](https://github.com/googleapis/go-genai).


Updates `github.com/aws/aws-sdk-go-v2` from 1.39.6 to 1.40.0
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.39.6...v1.40.0)

Updates `github.com/kaptinlin/jsonschema` from 0.5.2 to 0.6.1
- [Commits](https://github.com/kaptinlin/jsonschema/compare/v0.5.2...v0.6.1)

Updates `google.golang.org/genai` from 1.34.0 to 1.36.0
- [Release notes](https://github.com/googleapis/go-genai/releases)
- [Changelog](https://github.com/googleapis/go-genai/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/go-genai/compare/v1.34.0...v1.36.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
  dependency-version: 1.40.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/kaptinlin/jsonschema
  dependency-version: 0.6.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: google.golang.org/genai
  dependency-version: 1.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

ddf3ee0 fix: retry logic for stream processing errors in agent `Stream` function (#75)

Cristian created

0132f7c v0.3.2

Kujtim Hoxha created

4e3f10a fix: handle google model reasoning correctly (#82)

Kujtim Hoxha created

f677943 fix: look for gpt model type in any part of id (#76)

Dustin Lagoy created

34c2960 fix: marshal/unmarshal ProviderError when Cause is openai.APIError (#78)

Carlos Alexandro Becker created

ade493f v0.3.1

Kujtim Hoxha created

9143945 chore: add new openai models (#77)

Kujtim Hoxha created

0e36ef2 chore(deps): update `charm.land/x/vcr` to v0.1.1

Andrey Nering created

1304e36 v0.3.0

Kujtim Hoxha created

c999bfd feat: make structs serializable (#34)

Kujtim Hoxha created

0b5edf4 test: migrate tests to `charm.land/x/vcr` (#72)

Click to expand commit body
https://github.com/charmbracelet/x/pull/643

Andrey Nering created