Skip to content

Commit 0de5db8

Browse files
authored
docs(inferrs): fix Gemma model id from gg-hf-gg to google (openclaw#62586)
1 parent 557559c commit 0de5db8

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎docs/providers/inferrs.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ backend, not a dedicated OpenClaw provider plugin.
2323
Example:
2424

2525
```bash
26-
inferrs serve gg-hf-gg/gemma-4-E2B-it \
26+
inferrs serve google/gemma-4-E2B-it \
2727
--host 127.0.0.1 \
2828
--port 8080 \
2929
--device metal
@@ -46,9 +46,9 @@ This example uses Gemma 4 on a local `inferrs` server.
4646
{
4747
agents: {
4848
defaults: {
49-
model: { primary: "inferrs/gg-hf-gg/gemma-4-E2B-it" },
49+
model: { primary: "inferrs/google/gemma-4-E2B-it" },
5050
models: {
51-
"inferrs/gg-hf-gg/gemma-4-E2B-it": {
51+
"inferrs/google/gemma-4-E2B-it": {
5252
alias: "Gemma 4 (inferrs)",
5353
},
5454
},
@@ -63,7 +63,7 @@ This example uses Gemma 4 on a local `inferrs` server.
6363
api: "openai-completions",
6464
models: [
6565
{
66-
id: "gg-hf-gg/gemma-4-E2B-it",
66+
id: "google/gemma-4-E2B-it",
6767
name: "Gemma 4 E2B (inferrs)",
6868
reasoning: false,
6969
input: ["text"],
@@ -132,10 +132,10 @@ Once configured, test both layers:
132132
```bash
133133
curl http://127.0.0.1:8080/v1/chat/completions \
134134
-H 'content-type: application/json' \
135-
-d '{"model":"gg-hf-gg/gemma-4-E2B-it","messages":[{"role":"user","content":"What is 2 + 2?"}],"stream":false}'
135+
-d '{"model":"google/gemma-4-E2B-it","messages":[{"role":"user","content":"What is 2 + 2?"}],"stream":false}'
136136

137137
openclaw infer model run \
138-
--model inferrs/gg-hf-gg/gemma-4-E2B-it \
138+
--model inferrs/google/gemma-4-E2B-it \
139139
--prompt "What is 2 + 2? Reply with one short sentence." \
140140
--json
141141
```

‎src/agents/openai-transport-stream.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ describe("openai transport stream", () => {
10821082
it("flattens pure text content arrays for string-only completions backends when opted in", () => {
10831083
const params = buildOpenAICompletionsParams(
10841084
{
1085-
id: "gg-hf-gg/gemma-4-E2B-it",
1085+
id: "google/gemma-4-E2B-it",
10861086
name: "Gemma 4 E2B",
10871087
api: "openai-completions",
10881088
provider: "inferrs",

‎src/agents/pi-embedded-runner-extraparams.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,11 +567,11 @@ describe("applyExtraParamsToAgent", () => {
567567
it("flattens pure text OpenAI completions message arrays for string-only compat models", () => {
568568
const payload = runResponsesPayloadMutationCase({
569569
applyProvider: "inferrs",
570-
applyModelId: "gg-hf-gg/gemma-4-E2B-it",
570+
applyModelId: "google/gemma-4-E2B-it",
571571
model: {
572572
api: "openai-completions",
573573
provider: "inferrs",
574-
id: "gg-hf-gg/gemma-4-E2B-it",
574+
id: "google/gemma-4-E2B-it",
575575
name: "Gemma 4 E2B (inferrs)",
576576
baseUrl: "http://127.0.0.1:8080/v1",
577577
reasoning: false,

0 commit comments

Comments
 (0)