-
Notifications
You must be signed in to change notification settings - Fork 90
Comparing changes
Open a pull request
base repository: stacklok/codegate
base: v0.1.7
head repository: stacklok/codegate
compare: v0.1.8
- 20 commits
- 21 files changed
- 5 contributors
Commits on Jan 13, 2025
-
Had this branch hanging around and after chat with Jakub we figured its worth having for when we need to figure out client providers
Configuration menu - View commit details
-
Copy full SHA for 40e5e28 - Browse repository at this point
Copy the full SHA 40e5e28View commit details
Commits on Jan 14, 2025
-
Bump ollama from 0.4.5 to 0.4.6
Bumps [ollama](https://github.com/ollama/ollama-python) from 0.4.5 to 0.4.6. - [Release notes](https://github.com/ollama/ollama-python/releases) - [Commits](ollama/ollama-python@v0.4.5...v0.4.6) --- updated-dependencies: - dependency-name: ollama dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for c06e870 - Browse repository at this point
Copy the full SHA c06e870View commit details -
Bump litellm from 1.57.10 to 1.58.0
Bumps [litellm](https://github.com/BerriAI/litellm) from 1.57.10 to 1.58.0. - [Release notes](https://github.com/BerriAI/litellm/releases) - [Commits](BerriAI/litellm@v1.57.10...v1.58.0) --- updated-dependencies: - dependency-name: litellm dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for d06f04c - Browse repository at this point
Copy the full SHA d06f04cView commit details -
Add build-arg in
make image-buildcommandThe build-arg prevents that the step for downloading the UI code is cached. This way we can ensure that we are always using the latest releasee from the UI when building the image locally. The build-arg is already present in the GH action to build and publish the image. Additionally, remove the `secret` provided to the GH action to build the image. It was used when the containers were not public
Configuration menu - View commit details
-
Copy full SHA for 0791950 - Browse repository at this point
Copy the full SHA 0791950View commit details -
Merge pull request #578 from stacklok/update-img-build-cmd
Add build-arg in `make image-build` command
Configuration menu - View commit details
-
Copy full SHA for c00dc18 - Browse repository at this point
Copy the full SHA c00dc18View commit details -
Merge pull request #567 from stacklok/uagent
Log User-agents from clients
Configuration menu - View commit details
-
Copy full SHA for de6ab5f - Browse repository at this point
Copy the full SHA de6ab5fView commit details -
Merge pull request #575 from stacklok/dependabot/pip/ollama-0.4.6
Bump ollama from 0.4.5 to 0.4.6
Configuration menu - View commit details
-
Copy full SHA for 6e11207 - Browse repository at this point
Copy the full SHA 6e11207View commit details -
Merge pull request #576 from stacklok/dependabot/pip/litellm-1.58.0
Bump litellm from 1.57.10 to 1.58.0
Configuration menu - View commit details
-
Copy full SHA for 38230d1 - Browse repository at this point
Copy the full SHA 38230d1View commit details -
fix: Do not double count secrets on
/explaincopilot functionCloses: #519 When using `/explain` function in copilot we were double counting th secrets. The problem was that we were getting several `user` messages after the last `assistant` message. We are using the last `assistant` message as means to identify the user messages. Here is an example of how the request looked like for `/explain`: ``` [ {"role": "assistant", "content": "some content"}, {"role": "user", "content": content_with_secrets}, {"role": "user", "content": content_with_secrets}, ] ``` To avoid double counting now we check which was the secrets that matched after the last `assistant` message and only consider the unique ones.
Configuration menu - View commit details
-
Copy full SHA for 20633f1 - Browse repository at this point
Copy the full SHA 20633f1View commit details -
Merge pull request #581 from stacklok/dedup-secrets-explain
fix: Do not double count secrets on `/explain` copilot function
Configuration menu - View commit details
-
Copy full SHA for 09e94df - Browse repository at this point
Copy the full SHA 09e94dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70fbc6e - Browse repository at this point
Copy the full SHA 70fbc6eView commit details
Commits on Jan 15, 2025
-
Add all-in-one minimal nginx config
The nginx configuration uses a lot of defaults that work well in server-like environments. However, this is not optimized for a local dev-environment or single-container as codegate is meant to run. The nginx server spawns several processes which mostly remain idle. This is wasteful and it is taking over resources that could be used for something else. The intention of this new configuration is to minimize footprint. Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>
Configuration menu - View commit details
-
Copy full SHA for bcb26ab - Browse repository at this point
Copy the full SHA bcb26abView commit details -
Use
latesttag to build local codegate containerThere is no use in keeping this variable as it's only used for the container tag. Releases use another tagging mechanism. Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>
Configuration menu - View commit details
-
Copy full SHA for 9434f78 - Browse repository at this point
Copy the full SHA 9434f78View commit details -
Get version dynamically as opposed to the hardcoded one we have now
This leverages the package metadata instead of overwriting it with a hardcoded version and description. Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>
Configuration menu - View commit details
-
Copy full SHA for a01e202 - Browse repository at this point
Copy the full SHA a01e202View commit details -
Merge pull request #589 from JAORMX/minimal-nginx
Add all-in-one minimal nginx config
Configuration menu - View commit details
-
Copy full SHA for 8d4aec8 - Browse repository at this point
Copy the full SHA 8d4aec8View commit details -
Related: #583 We had been using a single DB schema that didn't change until now. This introduces migrations using `alembic`. To create a new migration one can use: ```sh alembic revision -m "My migration" ``` That should generate an empty migration file that needs to be hand-filled. Specifically the `upgrade` method which will be the one executed when running the migration. ```python """My migration Revision ID: <some_hash> Revises: <previous_hash> Create Date: YYYY-MM-DD HH:MM:SS.XXXXXX """ from alembic import op import sqlalchemy as sa revision = '<some_hash>' down_revision = '<previous_hash>' branch_labels = None depends_on = None def upgrade(): pass def downgrade(): pass ```
Configuration menu - View commit details
-
Copy full SHA for dd482a2 - Browse repository at this point
Copy the full SHA dd482a2View commit details -
Merge pull request #592 from JAORMX/version-dynamic
Get version dynamically as opposed to the hardcoded one we have now
Configuration menu - View commit details
-
Copy full SHA for 23d4a6f - Browse repository at this point
Copy the full SHA 23d4a6fView commit details -
Merge pull request #590 from JAORMX/latest-tag
Use `latest` tag to build local codegate container
Configuration menu - View commit details
-
Copy full SHA for 7022d28 - Browse repository at this point
Copy the full SHA 7022d28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34907a9 - Browse repository at this point
Copy the full SHA 34907a9View commit details -
Merge pull request #593 from stacklok/db-migrations
feat: Introduce DB migrations
Configuration menu - View commit details
-
Copy full SHA for 7593f72 - Browse repository at this point
Copy the full SHA 7593f72View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.1.7...v0.1.8