Skip to content

Conversation

@Developerayo
Copy link
Contributor

Fixes: #3777 (comment)

~/.config/goose/custom_providers/custom_bigm_-_glm.json

{
  "name": "custom_bigm_-_glm",
  "engine": "anthropic",
  "display_name": "BIGM - GLM",
  "description": "Custom BIGM - GLM provider",
  "api_key_env": "CUSTOM_BIGM_-_GLM_API_KEY",
  "base_url": "https://open.bigmodel.cn/api/anthropic/v1/messages",
  "models": [
    {
      "name": "glm-4.5",
      "context_limit": 128000,
      "input_token_cost": null,
      "output_token_cost": null,
      "currency": null,
      "supports_cache_control": null
    },
    {
      "name": "glm-45.-air",
      "context_limit": 128000,
      "input_token_cost": null,
      "output_token_cost": null,
      "currency": null,
      "supports_cache_control": null
    }
  ],
  "headers": null,
  "timeout_seconds": null,
  "supports_streaming": true
}
% goose session
starting session | provider: custom_bigm_-_glm model: glm-4.5
    logging to /Users/cyue/.local/share/goose/sessions/20250826_183556.jsonl
    working directory: /ws/AiWorks/goose-poc

Goose is running! Enter your instructions, or try asking what goose can do.

Context: ○○○○○○○○○○ 0% (0/128000 tokens)
( O)> hi
  2025-08-26T10:35:57.785345Z  WARN goose::providers::utils: Provider request failed with status: 404 Not Found. Payload: Some(Object {"detail": String("Not Found")}). Returning error: RequestFailed("Request failed with status: 404 Not Found")
    at crates/goose/src/providers/utils.rs:110

  2025-08-26T10:35:57.785432Z ERROR goose::session::storage: Failed to generate session description: Request failed: Request failed with status: 404 Not Found
    at crates/goose/src/session/storage.rs:1299
update: added a trailing / to real base url so "base_url": "https://open.bigmodel.cn/api/anthropic/" does work now ...

Signed-off-by: developerayo <[email protected]>
Signed-off-by: developerayo <[email protected]>
@DOsinga DOsinga merged commit 674acb4 into block:main Aug 26, 2025
10 checks passed
@Developerayo Developerayo deleted the fix/url-path-join branch August 26, 2025 23:37
shellz-n-stuff pushed a commit to shellz-n-stuff/goose that referenced this pull request Aug 27, 2025
zanesq added a commit that referenced this pull request Aug 27, 2025
…nscribing

* 'main' of github.com:block/goose:
  update tetrate blog date to today (#4368)
  tetrate signup: blog/launch post (#4313)
  Implement graceful recipe error handling with filename display (#4363)
  docs: airgapped operation by bypassing hermit for desktop app (#4063)
  remove Ollama card from welcome screen (#4348)
  feat: initial implementation of extension malware check (#4272)
  Add Tetrate Agent Router Service to Provider Registry (#4354)
  Goose Simple Compact UX (#4202)
  Refactor Extensions Install Modal (#4328)
  fix: url path trailing slash for custom-providers (#4345)
  docs: update available and onboarding providers list (#4356)
katzdave added a commit that referenced this pull request Aug 27, 2025
* 'main' of github.com:block/goose:
  Refactor Extensions Install Modal (#4328)
  fix: url path trailing slash for custom-providers (#4345)
  docs: update available and onboarding providers list (#4356)
  Fix refresh by waiting for document ready rather than a timeout (#4355)
  docs: add Tetrate Agent Router Service to available providers (#4339)
michaelneale added a commit that referenced this pull request Aug 28, 2025
* main: (38 commits)
  feat: linux computer control for android (termux) (#3890)
  feat: Added scroll state support for chat-session-list navigation (#4360)
  docs: typo fix (#4376)
  blog: goose janitor (#4131)
  Fix eleven labs audio transcription and added more logging (#4358)
  feat: re-introduce session sharing (#4370)
  remove duplicate blog post (#4369)
  fix focus ring under form submits (#4332)
  Trigger docs deployment
  update tetrate blog date to today (#4368)
  tetrate signup: blog/launch post (#4313)
  Implement graceful recipe error handling with filename display (#4363)
  docs: airgapped operation by bypassing hermit for desktop app (#4063)
  remove Ollama card from welcome screen (#4348)
  feat: initial implementation of extension malware check (#4272)
  Add Tetrate Agent Router Service to Provider Registry (#4354)
  Goose Simple Compact UX (#4202)
  Refactor Extensions Install Modal (#4328)
  fix: url path trailing slash for custom-providers (#4345)
  docs: update available and onboarding providers list (#4356)
  ...
dorien-koelemeijer pushed a commit to dorien-koelemeijer/goose that referenced this pull request Sep 2, 2025
Signed-off-by: developerayo <[email protected]>
Signed-off-by: Dorien Koelemeijer <[email protected]>
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.

Please add "OpenAI Compatible" and "Anthropic Compatible" provider configuration

2 participants