Skip to content

[release] v0.125.1 - #7813

Merged
mmabrouk merged 42 commits into
mainfrom
release/v0.125.1
Oct 26, 2026
Merged

mmabrouk merged 42 commits into
mainfrom
release/v0.125.1

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

New version v0.125.1 in

  • web
    • web/oss
    • web/ee
    • web/mobile
  • services
  • api
  • sdks
    • sdks/python
  • clients
    • clients/python
    • clients/typescript
  • kubernetes
    • kubernetes/helm

Final QA

  • fix(sdk): pass cloud credentials per call instead of through the process environment #7812 On an EE stage, run a Bedrock prompt with a connection that has its own access keys: it must answer. Run one with a Bedrock connection that has no keys: it must stop with a 400 credential error, not run on a host identity. Check the services log at start for the warning that names the removed AWS variables.
  • fix(comments): drop dangling colon when a CSV cell's column has no header name #7799 In /m, open a CSV whose header row has 2 columns and a later row has 6. Comment on a cell past the header (for example F5). Pass: the note box label shows the cell value alone, with no leading ": ".
  • feat(gateway): serve built-in Gemini over Google's native protocol #7806 On a stage, after the API, services and runner all run this release: in /m, start a new agent on the built-in Gemini 3.8 Flash and on 4 Argon. Say hi, then run a turn with several tool calls across two turns (one with an approval), press Stop in the middle of a stream and continue, and reload and continue. Pass: every turn answers; the API log shows calls on :streamGenerateContent and none on the built-in chat-completions route for these models; each call has a wallet debit and a trace span with token usage. Also continue one built-in Gemini chat that was started before the deploy: its next turn must answer.

Deploy steps

itsgintoki and others added 19 commits September 1, 2026 15:25
Signed-off-by: Yunus Ardaguney <yunusarda-sudo@users.noreply.github.com>
Signed-off-by: Yunus Ardaguney <yunusarda-sudo@users.noreply.github.com>
Signed-off-by: Yunus Ardaguney <yunusarda-sudo@users.noreply.github.com>
…ontent

A native door, POST /gateways/llms/builtin/{provider}/v1beta/models/{model}:streamGenerateContent,
relays Pi's Google client to Vertex's native operation on the platform's account:

- the model comes from the path (bare id, named google/<id> for the allowlist and rate card);
- an allowlist refuses every request field the rate card does not price;
- thinking is normalized to a level these models accept (off, budget 0 and MINIMAL are LOW);
- usage is read from usageMetadata, tool-use prompt as input, thoughts as output;
- the stall limit, retries and the nudged retry body apply as on the chat door;
- errors are answered in Google's shape with the agenta code marker;
- the placeholder x-goog-api-key is never forwarded.

The connection resolution names protocol=gemini for the built-in Vertex endpoint; provider and
deployment stay openai/custom, so a harness that ignores the field keeps the chat door.
… when it is served natively

- SDK: the connection resolution's protocol hint rides to the runner as modelConnection.protocol;
  the base URL stays the OpenAI-compatible /v1 route, so an older runner keeps working.
- Runner: with protocol=gemini on a gateway route, models.json registers Pi's
  google-generative-ai client on the /v1beta base, with the bare Gemini id and reasoning on.
  The protocol joins the session identity and the runtime digest only when present.
- Classifier: Pi's Google client wording for a broken stream and a malformed tool call.
…l configs

Review follow-ups: the allowlist walks every protocol object (function-response parts,
inline data, declarations, tool config, safety settings, thinking config) so a nested
fileData cannot reach Vertex; the native door refuses a body that is not a JSON object with
a Google-shaped 400; a null generationConfig or thinkingConfig gets the LOW default.
…e client request

Review follow-ups: a shared golden for the native route's model connection (SDK writes it,
runner reads it); the session identity and runtime digest of a connection without the protocol
are pinned to their pre-change values; a mocked fetch checks the URL, credential header and
placeholder key Pi's Google client sends; a stream cut inside an event reads as a lost
connection.
… route

Pi's default thinking level is medium, and the runner sets none, so marking the model as
reasoning would make every built-in turn think at MEDIUM and stream its thoughts. Unmarked, Pi
sends no thinking setting, as on the OpenAI route, and the gateway applies LOW.
…e design doc

Final review follow-ups: refusals for system-instruction file references, unknown inline-data
and function-calling fields and malformed nested shapes, each with zero upstream calls; opaque
arguments, responses and schemas pass. The design doc no longer promises a native ceiling or
tests for removed approaches.
…ess environment

Bedrock and SageMaker calls now carry their AWS credentials as litellm
arguments of the call. The services process environment is no longer
edited while a call runs, so concurrent calls never see each other's
credentials.

Where the host's provider keys may not serve requests (the EE default,
AGENTA_SERVICES_ENV_PROVIDER_KEYS_ENABLED off), a Bedrock or SageMaker
call must sign with its connection's own credentials. A call without
them stops with a 400, and the services container removes the AWS
credential variables from its environment at start. Self-hosted OSS
keeps using the host's AWS role for connections without keys.

The Bedrock bearer token variables are held out of the environment with
the other provider keys.
@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Agenta-AI/agenta
  • Branch: main
  • File: .coderabbit.yaml
  • Commit: 42868e5
  • Layers: Repository YAML (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5375683a-5b54-4ca5-8a48-045a529ce5c9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Agenta Product Agent and others added 3 commits October 26, 2026 12:23
… rows

test_get_project_by_workspace_keeps_the_legacy_answer read every workspace in the
shared test database. A test that ran in parallel could delete a project between the
test's two reads, so the set of tied projects came back empty and the assert failed.
The test now checks only the three workspaces it seeds, with the shapes it needs: a
workspace with a default project, a project that is not default and a project with a
NULL default; a workspace with one default project; a workspace whose only project is
not default.
…pair

litellm fills a missing aws_session_token from AWS_SESSION_TOKEN. A connection
that carries its own key pair then signs with a token the host set for another
identity, and the call fails. Pass an empty token in that case. Also isolate
the host AWS variables in the drop test.
…tials

fix(sdk): pass cloud credentials per call instead of through the process environment
@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor Author

@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor Author

Website preview

Preview URL: https://pr-7813-agenta-website-preview.mahmoud-637.workers.dev

Built from e396846429533b06751eeadff216b6ec54acae3e. This comment updates in place on every push.

@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor Author

Railway Preview Environment

Item Value
Status stopped
Commit e396846429533b06751eeadff216b6ec54acae3e
Manual expiry (UTC) Not granted
CI deadline (UTC) Not granted
Workflow https://github.com/Agenta-AI/agenta/actions/runs/40351466508

Dependent tests finished. Post /preview for manual review. Environment absence verified; retained storage requires separate provider accounting.

Post /preview as a new comment to request a one-hour preview. Repeating it while active does not extend the hour.
Preview data is disposable. Expiry is enforced by the next successful cleanup sweep, not an exact timer.
Environment deletion stops its compute. Provider-retained storage and permanent services may still be billed.

mmabrouk and others added 4 commits October 26, 2026 13:24
test(api): the legacy workspace lookup test reads only its own seeded rows
docs(docs): add the v0.125.0 changelog entry for private agents and chats
The diagram was a demo image for the PR description. It is not used by the
package, so it does not belong in the repository.
…debar cards

Carries the entries from draft PRs #7486 to #7492 in one change, because
each draft added a card at the top of changelog.json and they conflict
with each other. Three entries are updated to match the current app:
the Analytics tab is not the Settings landing page and its card is named
Failures by agent, Enter adds a quote to the message and Cmd/Ctrl+Enter
sends it, and the template page side card shows the apps and the first
message instead of the model and the author.
mmabrouk and others added 16 commits October 26, 2026 13:34
fix(comments): drop dangling colon when a CSV cell's column has no header name
…step

[ci] Run the office viewer bundle check as an independent CI job [#7771]
docs(changelog): add the seven October changelog entries
docs: add mosifu and yunusarda-sudo to the contributors list
…ative Gemini door

A gateway timeout reached Pi's Google client as a 408 with an unmarked sentence, which Pi
does not retry and the runner could not classify. It is now a 504 with the marked upstream
sentence, as a timeout mid-stream already was.

A stream that closed inside an event reached the client as a half event, which fails with
"Incomplete JSON segment", also not retried. The half event is now dropped and the caller
gets the error event a broken connection gets.

Also declare modelConnection.protocol on the wire schema.
fix(sdk): prepend default http scheme to schemeless AGENTA_API_URL in parse_url
docs: add itsgintoki to the contributors list
…eaves it open

Google's client throws "Incomplete JSON segment" on any bytes after the last blank line,
a whole event included, which would lose the finish reason and the usage.
feat(gateway): serve built-in Gemini over Google's native protocol
…mini route

Pi's Google client keeps only the gateway's error body, in Google's shape, with no HTTP status
prefix: {"error": {"code": 403, "message": "... ⟦agenta_code:model_not_allowed⟧", "status":
"PERMISSION_DENIED"}}. The parser only knew a string code and the classifier only a "403 {...}"
line, so every gateway refusal on the native route read as an unclassified run error.

- The parser takes the gateway code from the marker when code is the HTTP status.
- The classifier reads the status of a Google-shaped body, as the OpenAI route's line.
- The provider sentence drops the machine marker, on both routes.
Review follow-ups: the status line is built only for a body that carries the gateway's marker,
a numeric code and a string status, so another {"error": ...} in some text is not read as a
model refusal; the marker stays in the message, as on the OpenAI route, because the runner
re-reads it for the gateway's code and the web app strips it for display.
fix(runner): classify gateway refusals on the native Gemini route

@mmabrouk mmabrouk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🤖 The AI agent says: Approved on Mahmoud's instruction after the v0.125.1 production deploy went green in US (workflow 29 runs 40364774791 and 40365956256) and EU (runs 40372897066 and 40375008444), deployed in two steps per region, with live checks passing in both regions.

@mmabrouk
mmabrouk merged commit f20d551 into main Oct 26, 2026
91 checks passed
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.

4 participants