Skip to content

WebAI-API integration how-to#13

Merged
gitricko merged 14 commits intomainfrom
gitricko-webai-api
Apr 12, 2026
Merged

WebAI-API integration how-to#13
gitricko merged 14 commits intomainfrom
gitricko-webai-api

Conversation

@gitricko
Copy link
Copy Markdown
Owner

Objective

Include WebAI-API which is proxy to gemini so that openclaw can use. it
Note, it does not support tool support

Copilot AI review requested due to automatic review settings April 12, 2026 16:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a documented, opt-in WebAI-API (Gemini-Web proxy) service alongside the existing OpenClaw-WebTop setup, plus minor updates to default model instructions and container versions.

Changes:

  • Add a webai-api docker-compose service behind a compose profile and a make start-webai-api target to run it on demand.
  • Add a WebAI-API integration how-to document (cookie import + OpenClaw provider configuration prompt).
  • Update README model pull/launch example and bump OpenClaw/Ollama versions in the Dockerfile.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
README.md Updates the example Ollama model used in the quick-start steps.
Makefile Adds a new target to start the WebAI-API compose profile.
docs/webai-to-api-integration.md Introduces step-by-step WebAI-API setup instructions and example config text.
docker/Dockerfile Bumps OpenClaw and Ollama versions used in the image build.
docker-compose.yml Pins the WebTop image tag and adds the opt-in webai-api service.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 25 to 28
start:
PUID=$(shell id -u) \
PGID=$(shell id -g) \
docker compose up -d
Copy link

Copilot AI Apr 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The start target exports PUID/PGID, but docker-compose.yml uses ${DOCKER_PUID}/${DOCKER_PGID} for substitution. As a result the container will fall back to the hard-coded defaults (501/20), which can cause permission issues on mounted volumes. Align the variable names (either set DOCKER_PUID/DOCKER_PGID here or change the compose file to read PUID/PGID).

Copilot uses AI. Check for mistakes.
gitricko and others added 6 commits April 12, 2026 13:05
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Ignore markdown and docs paths for push and pull_request events
Removed paths-ignore for markdown and docs in push and pull_request events.
@gitricko gitricko merged commit 23ee3e5 into main Apr 12, 2026
2 checks passed
@gitricko gitricko deleted the gitricko-webai-api branch April 12, 2026 17:21
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.

2 participants