@openagents-org/agent-launcher 0.2.75 → 0.2.76

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": "@openagents-org/agent-launcher",
3
- "version": "0.2.75",
3
+ "version": "0.2.76",
4
4
  "description": "OpenAgents Launcher — install, configure, and run AI coding agents from your terminal",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -414,7 +414,9 @@ class OpenClawAdapter extends BaseAdapter {
414
414
  */
415
415
  static configureNativeAuth(env) {
416
416
  const apiKey = env.LLM_API_KEY;
417
- const baseUrl = env.LLM_BASE_URL || 'https://api.openai.com/v1';
417
+ // Strip /chat/completions suffix OpenClaw appends it internally
418
+ const rawUrl = env.LLM_BASE_URL || 'https://api.openai.com/v1';
419
+ const baseUrl = rawUrl.replace(/\/chat\/completions\/?$/, '');
418
420
  const model = env.LLM_MODEL || 'gpt-4o';
419
421
  if (!apiKey) return;
420
422