Skip to content

Kronk provider#114

Open
ardan-bkennedy wants to merge 11 commits intocharmbracelet:mainfrom
ardanlabs:main
Open

Kronk provider#114
ardan-bkennedy wants to merge 11 commits intocharmbracelet:mainfrom
ardanlabs:main

Conversation

@ardan-bkennedy
Copy link

  • [ Y ] I have read CONTRIBUTING.md.
  • [ N ] I have created a discussion that was approved by a maintainer (for new features).

After the ArdanLabs live coding show, Carlos, Andrey, and I was able to produce this new provider from Kronk. I've performed code cleanup, made sure tool calling is working, and created new examples.

@meowgorithm meowgorithm mentioned this pull request Jan 8, 2026
2 tasks
Copy link
Member

@andreynering andreynering left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks very good. Thank you!

There are a few things we can adjust before merging. I would consider pushing, but I don't have access to your branch.

  • Remove debug code (mentioned below).
  • Linting needs to be fixed. (All very simple. Just run task lint or golangci-lint run to see).
  • You might want to add a short README to providers/kronk/README.md explaining what Kronk is and a couple links maybe.

Other than that, there are integrations test to write (they are on providertests/), but that's something we can do ourselves after merging.

I certainly want @kujtimiihoxha's review here, as he's more experienced on the internals of Fantasy.

"github.com/google/uuid"
)

var debugStream = os.Getenv("FANTASY_DEBUG_STREAM") != ""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll want to remove this and the blocks that check for it.

@ardan-bkennedy
Copy link
Author

I have added you (@andreynering ) and @kujtimiihoxha to the repo.

I don't use golangci-lint I use staticcheck so that is why there are some linter issues for you. I'm actually curious what it's complaining about.

I will look at those three items today. Thanks!

@ardan-bkennedy
Copy link
Author

DONE: Remove debug code (mentioned below).
DONE: Linting needs to be fixed. (All very simple. Just run task lint or golangci-lint run to see).
DONE: Added a short README

@ardan-bkennedy
Copy link
Author

@andreynering I updated the code to the latest version of Kronk and made sure the examples are working.

Sorry for letting this go so long :(

@andreynering
Copy link
Member

@ardan-bkennedy No problem at all! We're also busy at Charm, but this is in my TODO list and I'll come back once possible. 🙂

@ardan-bkennedy
Copy link
Author

No worries and no rush. I just snuck in 1.16.3

@ardan-bkennedy
Copy link
Author

Upgraded to v1.17.6 of Kronk

@deadprogram
Copy link

Any updates on this? 👁️

@andreynering
Copy link
Member

Hopefully I'll fine the time to review this soon 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants