Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Groq ChatCompletion #650

Merged
merged 3 commits into from
Mar 3, 2025
Merged

feat: Groq ChatCompletion #650

merged 3 commits into from
Mar 3, 2025

Conversation

timonv
Copy link
Member

@timonv timonv commented Feb 28, 2025

Use the new generics to just-make-it-work.

@timonv timonv force-pushed the feat/groq-chat-completions branch from be79401 to 53aafb4 Compare February 28, 2025 20:44
@timonv timonv force-pushed the feat/groq-chat-completions branch from 53aafb4 to 1cd2036 Compare February 28, 2025 21:07
@timonv timonv marked this pull request as ready for review March 3, 2025 16:04
@timonv timonv merged commit 57116e9 into master Mar 3, 2025
5 of 6 checks passed
@timonv timonv deleted the feat/groq-chat-completions branch March 3, 2025 16:04
timonv pushed a commit that referenced this pull request Mar 5, 2025
## 🤖 New release

* `swiftide-core`: 0.21.1 -> 0.22.0 (✓ API compatible changes)
* `swiftide-macros`: 0.21.1 -> 0.22.0
* `swiftide-agents`: 0.21.1 -> 0.22.0 (✓ API compatible changes)
* `swiftide-indexing`: 0.21.1 -> 0.22.0 (✓ API compatible changes)
* `swiftide-integrations`: 0.21.1 -> 0.22.0 (⚠ API breaking changes)
* `swiftide-query`: 0.21.1 -> 0.22.0 (✓ API compatible changes)
* `swiftide`: 0.21.1 -> 0.22.0 (✓ API compatible changes)

### ⚠ `swiftide-integrations` breaking changes

```text
--- failure enum_missing: pub enum removed or renamed ---

Description:
A publicly-visible enum cannot be imported by its prior path. A `pub use` may have been removed, or the enum itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.39.0/src/lints/enum_missing.ron

Failed in:
  enum swiftide_integrations::groq::GroqBuilderError, previously in file /tmp/.tmp04qAim/swiftide-integrations/src/groq/mod.rs:23
  enum swiftide_integrations::openai::OpenAIBuilderError, previously in file /tmp/.tmp04qAim/swiftide-integrations/src/openai/mod.rs:38
  enum swiftide_integrations::groq::OptionsBuilderError, previously in file /tmp/.tmp04qAim/swiftide-integrations/src/groq/mod.rs:46

--- failure struct_missing: pub struct removed or renamed ---

Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.39.0/src/lints/struct_missing.ron

Failed in:
  struct swiftide_integrations::groq::GroqBuilder, previously in file /tmp/.tmp04qAim/swiftide-integrations/src/groq/mod.rs:23
  struct swiftide_integrations::openai::OpenAIBuilder, previously in file /tmp/.tmp04qAim/swiftide-integrations/src/openai/mod.rs:38
  struct swiftide_integrations::groq::OptionsBuilder, previously in file /tmp/.tmp04qAim/swiftide-integrations/src/groq/mod.rs:46
  struct swiftide_integrations::groq::Groq, previously in file /tmp/.tmp04qAim/swiftide-integrations/src/groq/mod.rs:25
  struct swiftide_integrations::openai::OpenAI, previously in file /tmp/.tmp04qAim/swiftide-integrations/src/openai/mod.rs:40
  struct swiftide_integrations::groq::Options, previously in file /tmp/.tmp04qAim/swiftide-integrations/src/groq/mod.rs:48
```

<details><summary><i><b>Changelog</b></i></summary><p>







## `swiftide`

<blockquote>

##
[0.22.0](v0.21.1...v0.22.0)
- 2025-03-03

### New features

-
[a754846](a754846)
*(agents)* Implement Serialize and Deserialize for chat messages

````text
Persist, retry later, evaluate it completions in a script, you name it.
````

-
[0a592c6](0a592c6)
*(indexing)* Add `iter()` for file loader
([#655](#655))

````text
Allows playing with the iterator outside of the stream.

  Relates to bosun-ai/kwaak#337
````

-
[57116e9](57116e9)
Groq ChatCompletion
([#650](#650))

````text
Use the new generics to _just-make-it-work_.
````

-
[4fd3259](4fd3259)
Continue Agent on Tool Failure
([#628](#628))

````text
Ensure tool calls and responses are always balanced, even when the tool retry limit is reached
  bosun-ai/kwaak#313
````

### Miscellaneous

- [0000000](0000000) Update
Cargo.toml dependencies


**Full Changelog**:
0.21.1...0.22.0
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).
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.

1 participant