@1mancompany/onemancompany 0.7.61 → 0.7.63

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/README.md CHANGED
@@ -15,6 +15,7 @@
15
15
  <a href="LICENSE"><img src="https://img.shields.io/github/license/1mancompany/OneManCompany" alt="License" /></a>
16
16
  <a href="https://github.com/1mancompany/OneManCompany/commits/main"><img src="https://img.shields.io/github/last-commit/1mancompany/OneManCompany" alt="Last commit" /></a>
17
17
  <a href="https://discord.gg/B6BfZ9tWa"><img src="https://img.shields.io/discord/1352123168498921472?color=5865F2&label=Discord&logo=discord&logoColor=white" alt="Discord" /></a>
18
+ <a href="wechat.jpg"><img src="https://img.shields.io/badge/WeChat-07C160?logo=wechat&logoColor=white" alt="WeChat" /></a>
18
19
  </p>
19
20
 
20
21
  <p align="center">
@@ -25,6 +26,10 @@
25
26
  <a href="https://1mancompany.github.io/OneManCompany/">Homepage</a>&nbsp;&nbsp;·&nbsp;&nbsp;<a href="README_zh.md">中文文档</a>&nbsp;&nbsp;·&nbsp;&nbsp;<a href="https://1mancompany.github.io/OneManCompany/docs/">Docs</a>&nbsp;&nbsp;·&nbsp;&nbsp;<a href="https://one-man-company.com">Talent Market</a>&nbsp;&nbsp;·&nbsp;&nbsp;<a href="https://github.com/1mancompany/OneManCompany/issues">Issues</a>
26
27
  </p>
27
28
 
29
+ <p align="right">
30
+ <a href="wechat.jpg"><img src="wechat.jpg" alt="WeChat QR code" width="120" /></a>
31
+ </p>
32
+
28
33
  > Others use AI to write code. You use AI to run a company.
29
34
  >
30
35
  > Linux runs servers. OneManCompany runs companies.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1mancompany/onemancompany",
3
- "version": "0.7.61",
3
+ "version": "0.7.63",
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.63"
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,