Skip to content

Release/v0.1.8#101

Draft
krakenalt wants to merge 19 commits into
mainfrom
release/v0.1.8
Draft

Release/v0.1.8#101
krakenalt wants to merge 19 commits into
mainfrom
release/v0.1.8

Conversation

@krakenalt
Copy link
Copy Markdown
Collaborator

Description

Motivation

Closes #

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Code refactoring (no functional changes)
  • Performance improvement
  • Test coverage improvement
  • CI/CD or tooling change

Changes Made

Testing

Test Coverage

  • Unit tests added/updated
  • Integration tests added/updated (if applicable)
  • All existing tests pass locally

Manual Testing

Method Used

  • OpenAI Python SDK
  • curl
  • Docker
  • Other:
Test commands / code

Example with OpenAI SDK:

from openai import OpenAI

client = OpenAI(base_url="http://localhost:8090", api_key="your-key")

completion = client.chat.completions.create(
    model="gpt-4",
    messages=[
        {"role": "user", "content": "Test message"}
    ],
)
print(completion.choices[0].message.content)

Example with curl:

curl -X POST http://localhost:8090/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer your-key" \
  -d '{
    "model": "gpt-4",
    "messages": [{"role": "user", "content": "Test"}]
  }'

Checklist

Code Quality

  • Code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new linter warnings (make lint)
  • Type checking passes (make mypy)
  • All tests pass (make test)

Documentation

  • I have updated the documentation accordingly
  • Docstrings follow Google style with imperative mood
  • I have added examples for new features (if applicable)
  • README.md updated (if applicable)

Dependencies

  • No new dependencies added
  • If dependencies added, they are justified and minimal
  • uv.lock updated (if dependencies changed)

Compatibility

  • Changes are compatible with Python 3.10-3.14
  • No use of type[...] syntax (use Type[...] for Python 3.8)
  • Async/sync variants both work correctly (if applicable)

Commits

  • Commit messages are clear and follow conventional commits style
  • Commits are logically organized
  • No debug code or commented-out code left in

Additional Context

Pre-merge Actions

  • Changelog updated (if applicable)
  • Version bump considered (if applicable)

dependabot Bot and others added 17 commits March 24, 2026 15:31
Bumps [docker/login-action](https://github.com/docker/login-action) from 3 to 4.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@v3...v4)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 5 to 6.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](docker/metadata-action@v5...v6)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/labeler](https://github.com/actions/labeler) from 5 to 6.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](actions/labeler@v5...v6)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3 to 4.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](docker/setup-buildx-action@v3...v4)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
}
if details:
error["details"] = sanitize_for_utf8(details)
return JSONResponse(status_code=status_code, content={"error": error})
Comment on lines +98 to +105
stream_gemini_generate_content(
request,
normalized_model,
chat_messages,
response_id,
giga_client,
request_data=data,
),
try:
first_chunk = await anext(stream)
except StopAsyncIteration:
first_chunk = None
…rns. You have one final chance to complete the task with a short grace period.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants