Skip to content

Add support for Ollama #39

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

Open
wants to merge 188 commits into
base: main
Choose a base branch
from
Open

Add support for Ollama #39

wants to merge 188 commits into from

Conversation

oleander
Copy link
Owner

@oleander oleander commented Feb 8, 2025

No description provided.

oleander and others added 30 commits July 17, 2024 15:14
* Update deploy.yml

* Update deploy.yml

* Patch bug

* Update version

* Fix con

* Add cross-compilation setup to deployment workflow

* Simplify concurrency group config in workflows

* Fix concurrency group prefix in deploy workflow

* Refactor deploy workflow to separate x86 and arm builds

* Fix concurrency group syntax in deploy workflow

* Update GitHub workflows for consistency across CD and deploy files

* Remove pull_request trigger from deploy workflow
* Consolidate workflow scripts and streamline CI/CD setup

* Add 'feature/bundle-bin' branch to CD workflow trigger

* Add version bump workflow; refactor and simplify CD workflow

* Update Git setup with custom user config in workflow

* Update 'bump.yml' to include '--build' in cargo bump command

* Remove duplicate cargo bump patch command

* Remove unnecessary permissions in workflows

* 0.2.7

* Expand deployment events in CD workflow

* Add TMPDIR to .cargo/config.toml, update Cargo.lock version

* Fix TMPDIR value by adding missing quotes

* 0.2.8

* Remove redundant event trigger wildcard in CD workflow

* Update git-ai to version 0.2.8 and GH release action to v2

* 0.2.9

* Add concurrency setting to GitHub Actions CD workflow

* Update git-ai version to 0.2.9 in Cargo.lock

* 0.2.10

* Amend bump commit to include additional changes

* 0.2.11

* Update bump.yml workflow file

* Enable workflow on all branches and update tag_name variable

* Update git-ai to version 0.2.11 and remove version extraction step

* Fix incorrect file paths in CD workflow configuration

* 0.2.12

* Refactor artifacts generation in CD workflow

* Upgrade git-ai to version 0.2.12 and fix tag_name usage in cd.yml

* 0.2.13

* Fix variable reference in GitHub Actions workflow

* Remove unused draft and prerelease settings

* Update git-ai version and add stash step in workflow

* 0.2.14

* Update workflows to trigger on 'main' and add concurrency settings

---------

Co-authored-by: Linus Oleander <oleander@users.noreply.github.com>
…tion and adjust configuration settings accordingly.
Add configurability for OpenAI URL using an environment variable and set up a fake OpenAI service in CI workflow.

* **Configurable OpenAI URL:**
  - Add `openai_host` field to `App` struct in `src/config.rs`.
  - Set default value for `openai_host` in `App::new` method.
  - Update `src/openai.rs` to use `openai_host` from `App` struct.
  - Add `url` subcommand to `config openai set` in `src/main.rs`.
  - Implement `run_config_openai_host` function to handle `url` subcommand.

* **CI Workflow:**
  - Add `services` section in `.github/workflows/ci.yml` to define a fake OpenAI service.
  - Set `OPENAI_API_URL` environment variable to `http://localhost:8080` in the `Run tests` step.
  - Configure the service to expose port 8080.
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