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: Ollama via async-openai with chatcompletion support #545

Merged
merged 4 commits into from
Jan 11, 2025

Conversation

timonv
Copy link
Member

@timonv timonv commented Jan 11, 2025

Adds support for chatcompletions (agents) for ollama. Copy pasted from the openai integration.

Copy pasted as I expect some differences.

TODO:

  • Remove ollama-rs
  • Test simpleprompt, embedding and chatcompletion
  • Update docs
  • async-openai just released with new secrecy (thanks me). Needs update here too.

@timonv timonv merged commit c919484 into master Jan 11, 2025
15 of 16 checks passed
@timonv timonv deleted the feat/ollama-via-async-openai branch January 11, 2025 21:37
timonv pushed a commit that referenced this pull request Jan 12, 2025
## 🤖 New release
* `swiftide`: 0.16.3 -> 0.16.4 (✓ API compatible changes)
* `swiftide-agents`: 0.16.3 -> 0.16.4 (✓ API compatible changes)
* `swiftide-core`: 0.16.3 -> 0.16.4 (✓ API compatible changes)
* `swiftide-macros`: 0.16.3 -> 0.16.4
* `swiftide-indexing`: 0.16.3 -> 0.16.4 (✓ API compatible changes)
* `swiftide-integrations`: 0.16.3 -> 0.16.4 (✓ API compatible changes)
* `swiftide-query`: 0.16.3 -> 0.16.4 (✓ API compatible changes)

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

## `swiftide`
<blockquote>

##
[0.16.4](v0.16.3...v0.16.4)
- 2025-01-12

### New features

-
[c919484](c919484)
Ollama via async-openai with chatcompletion support (#545)

````text
Adds support for chatcompletions (agents) for ollama. SimplePrompt and embeddings now use async-openai underneath.

  Copy pasted as I expect some differences in the future.
````

### Miscellaneous

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


**Full Changelog**:
0.16.3...0.16.4
</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