Skip to content

feat: add ANTHROPIC_HOST configuration for Anthropic in cli and UI#1776

Merged
yingjiehe-xyz merged 1 commit into
aaif-goose:mainfrom
bacecek:users/bacecek/anthropic_host_customization
Apr 2, 2025
Merged

feat: add ANTHROPIC_HOST configuration for Anthropic in cli and UI#1776
yingjiehe-xyz merged 1 commit into
aaif-goose:mainfrom
bacecek:users/bacecek/anthropic_host_customization

Conversation

@bacecek

@bacecek bacecek commented Mar 19, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@yingjiehe-xyz

yingjiehe-xyz commented Apr 2, 2025

Copy link
Copy Markdown
Contributor

Thanks for the contribution! May I know any other anthropic compatible apis? try to understand the context here

@bacecek

bacecek commented Apr 2, 2025

Copy link
Copy Markdown
Contributor Author

Yes, apologies — I should have included this in the pull request description.

In our company, we have our own proxy for the Anthropic API and an API key system for employees.

This diff was inspired by similar functionality in the Cline plugin for VS Code, where users can specify a custom base URL for the Anthropic API. It was a game changer for us.

As far as I know, it’s possible to specify theANTHROPIC_HOST in ~/.config/goose/config.yaml, and it should work without any additional changes. So, it’s probably enough to add documentation about this, but I believe that having this customization is a more user-friendly approach, especially given the minimal support cost.

@yingjiehe-xyz yingjiehe-xyz merged commit fc230de into aaif-goose:main Apr 2, 2025
laanak08 added a commit that referenced this pull request Apr 3, 2025
* main:
  fix: handle the case sensitive in mac screenshot name (#2021)
  ui: better env var ux (#2006)
  feat: add ANTHROPIC_HOST configuration for Anthropic in cli and UI (#1776)
  Fix function params  (#2012)
  revert: "feat: allowlist optionally for goosed (#1848)"  (#2010)
  # feat(providers): Add support for generic GCP Vertex AI Claude and Gemini models (#1909)
  fix: fix empty result for view tool response (#2011)
  Blog: Top MCP servers I use  (#1951)
  docs: MCP for Nondevs Blog (#1910)
  styles: update markdown styles (#2005)
  fix(ollama): respect ollama URL and port (#2004)
  ui: refresh selected model (#2002)
  ui: fix radio button selection (#2001)
  use provider display names (#2000)
  ui: settings v2 click anywhere to exit models bottom bar (#1997)
  feat: better ErrorBoundary UI (#1993)
  feat: check tool annotation before permission check (#1957)
  fix: see last msg fully in shared session view (#1994)
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