Commit log

3cd8886 docs(examples): fix typos

Christian Rocha created

f75310c docs(examples): tune the moon phase tool a little

Christian Rocha created

9006995 docs(examples): rework streaming agent example.

Christian Rocha created

df0494b docs(examples): update examples per API changes

Christian Rocha created

a99d286 chore: update anthropic's sdk with a panic fix

Andrey Nering created

5b8ca94 docs(examples): drop various examples

Christian Rocha created

89f921e refactor: add `ctx` to `Provider.LanguageModel()`

Andrey Nering created

a8f6f25 refactor: return `error` on `{provider}.New()`

Andrey Nering created

76e272f Add proper support for caching & reasoning for openrouter (#30)

Click to expand commit body
* chore: make message serializable

provider options are not handled

* feat: support anthropic cache openrouter

* feat: support streaming correctly

* fix(lint): some small issues

* chore: remove mesage serialization

Kujtim Hoxha created

df4288e test: add integration tests for hugging face (via openai-compat) (#33)

Andrey Nering created

f4221ab chore(deps): pin our forks instead of using `replace` (#32)

Andrey Nering created

f37ada6 docs(examples): add moon phase example

Christian Rocha created

6b6436c feat(bedrock): add support for basic auth with api key on bedrock (#28)

Andrey Nering created

3afa995 fix(google): fix google upload panic and add tests (#26)

Click to expand commit body
* fix(google): fix google upload panic and add tests

* fix(test): add placeholder api key

* chore: use smaller image

Kujtim Hoxha created

1990457 lint: enable `revive`, fix issues + add all missing doc comments (#25)

Andrey Nering created

fa52c8b ci: setup goreleaser (#24)

Andrey Nering created

08a01c1 chore(deps): bump the all group with 4 updates (#23)

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


Updates `cloud.google.com/go/auth` from 0.9.3 to 0.17.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/auth/v0.9.3...v0.17.0)

Updates `github.com/aws/aws-sdk-go-v2` from 1.30.3 to 1.39.3
- [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.30.3...v1.39.3)

Updates `github.com/openai/openai-go/v2` from 2.3.0 to 2.7.1
- [Release notes](https://github.com/openai/openai-go/releases)
- [Changelog](https://github.com/openai/openai-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/openai/openai-go/compare/v2.3.0...v2.7.1)

Updates `golang.org/x/oauth2` from 0.30.0 to 0.32.0
- [Commits](https://github.com/golang/oauth2/compare/v0.30.0...v0.32.0)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/auth
  dependency-version: 0.17.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/aws/aws-sdk-go-v2
  dependency-version: 1.39.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/openai/openai-go/v2
  dependency-version: 2.7.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: golang.org/x/oauth2
  dependency-version: 0.32.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

3ffb366 ci: add `.github/dependabot.yml` (#22)

Andrey Nering created

3ac977d chore: fix url on `go.mod` comment

Andrey Nering created

f543036 refactor: move providers packages back into a `providers/` subdir

Andrey Nering created

881e277 refactor: move `ai` package to the root as `fantasy`

Andrey Nering created

2f08d33 chore: rename module to `charm.land/fantasy` (#19)

Andrey Nering created

7eef16c feat: add openai reasponses api (#20)

Click to expand commit body
* feat: add openai reasponses api

* fix(lint): some lint issues

Kujtim Hoxha created

3e101dd feat: add amazon aws bedrock provider (#18)

Andrey Nering created

6bbc7cd chore: various updates (#17)

Click to expand commit body
* feat(tools): add provider options to agent tools

this is needed so that we can set caching params for
anthropic/openrouter

* feat(anthropic): allow adding cache control at the system message level

* fix(tests): add new options to tool

* chore: improve parse options

* fix(openai): finish reason mapping

* feat: allow prepare step to update the context

* fix: apparently not a good idea to change the tool ids

* feat: add headers to azure provider

* chore: add additional options to the google provider

Kujtim Hoxha created

83f044b fix(skip): do not skip auth when recording a new cassette

Andrey Nering created

b9223aa feat: add google vertex support

Andrey Nering created

5e80e35 feat: add azure provider

Andrey Nering created

222e081 fix(openai): do not return 0 tokens just because we have no "choices"

Andrey Nering created

cf5bd34 refactor(openai): rename default functions and export them

Andrey Nering created

802183b refactor(openaicompat): ask base url via an option

Andrey Nering created

4e6b149 chore(deps): update google sdk

Andrey Nering created

9ad2aa0 chore: `go mod tidy`

Andrey Nering created

6a8b3fd fix(tests): add missing `.env` file loading

Andrey Nering created

03b271c refactor(test): prefix test envs to avoid conflicts (#15)

Andrey Nering created

171b1c8 fix(lint): remove empty line

kujtimiihoxha created

60f57c0 chore: support anthropic signature on openrouter

kujtimiihoxha created

9f95dbf chore: update and simplify tests

kujtimiihoxha created

78bdbc5 fix(lint): remove unused func

Kujtim Hoxha created

519b472 feat: add reasoning to openai compat models

Kujtim Hoxha created

26cd05c feat: add openai compatible generic.

Kujtim Hoxha created

3439905 feat: add ability to guaranty tool call id uniquenes

Kujtim Hoxha created

fff872a test: small changes to the multitool

Kujtim Hoxha created

687b8bc test: simplify openrouter

Click to expand commit body
I tested a bunch and I think we do not need to test for each individual
provider

Kujtim Hoxha created

c8711ea test: add thinking to anthropic

Kujtim Hoxha created

c4d3937 test: add thinking

Kujtim Hoxha created

7be848f test: add multiprovider test

Kujtim Hoxha created

dc82791 test: gpt-5

Kujtim Hoxha created

8552edb test: add deepseek v3.1 free

Kujtim Hoxha created

3a6c42d test: add gemini 2.0 flash

Kujtim Hoxha created