-
Notifications
You must be signed in to change notification settings - Fork 1
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
oleander
wants to merge
188
commits into
main
Choose a base branch
from
feature/ollama
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… max tokens correctly.
* 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>
…rs and src/bin/hook.rs.
…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.
…AI_URL environment variable.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.