@1mancompany/onemancompany 0.7.61 → 0.7.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1mancompany/onemancompany",
3
- "version": "0.7.61",
3
+ "version": "0.7.62",
4
4
  "description": "The AI Operating System for One-Person Companies",
5
5
  "bin": {
6
6
  "onemancompany": "bin/cli.js"
package/pyproject.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "onemancompany"
3
- version = "0.7.61"
3
+ version = "0.7.62"
4
4
  description = "A one-man company simulation with pixel art visualization and LangChain AI agents"
5
5
  requires-python = ">=3.12"
6
6
  dependencies = [
@@ -198,9 +198,13 @@ def make_llm(employee_id: str = "", temperature: float | None = None) -> BaseCha
198
198
  extra_headers = {}
199
199
  if auth_method == AuthMethod.OAUTH or effective_key.startswith("sk-ant-oat"):
200
200
  extra_headers["anthropic-beta"] = "oauth-2025-04-20"
201
+ base_url = None
202
+ if api_provider == "custom" and settings.default_api_base_url:
203
+ base_url = settings.default_api_base_url
201
204
  return ChatAnthropic(
202
205
  model=model,
203
206
  api_key=effective_key,
207
+ base_url=base_url,
204
208
  temperature=effective_temp,
205
209
  max_retries=3,
206
210
  timeout=300.0,