fix(hllm): use correct base URL hllm.dev instead of hllm.ai
This commit is contained in:
parent
6fbb104380
commit
aad8b58031
2 changed files with 4 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@tpmjs/tools-hllm",
|
||||
"version": "0.1.1",
|
||||
"version": "0.1.2",
|
||||
"description": "HLLM API client tools for AI agents. Manage topologies, sessions, prompts, files, and more.",
|
||||
"type": "module",
|
||||
"keywords": [
|
||||
|
|
|
|||
|
|
@ -3,12 +3,12 @@
|
|||
* Manage topologies, sessions, prompts, files, and more.
|
||||
*
|
||||
* @requires HLLM_API_KEY environment variable (hllm_xxxx_xxx format)
|
||||
* @requires HLLM_BASE_URL environment variable (optional, defaults to https://hllm.ai/api)
|
||||
* @requires HLLM_BASE_URL environment variable (optional, defaults to https://hllm.dev/api)
|
||||
*/
|
||||
|
||||
import { jsonSchema, tool } from 'ai';
|
||||
|
||||
const DEFAULT_BASE_URL = 'https://hllm.ai/api';
|
||||
const DEFAULT_BASE_URL = 'https://hllm.dev/api';
|
||||
|
||||
/**
|
||||
* Topology types supported by HLLM
|
||||
|
|
@ -40,7 +40,7 @@ function getApiConfig(): { apiKey: string; baseUrl: string } {
|
|||
|
||||
if (!apiKey) {
|
||||
throw new Error(
|
||||
'HLLM_API_KEY environment variable is required. Get your API key from https://hllm.ai/settings/api-keys'
|
||||
'HLLM_API_KEY environment variable is required. Get your API key from https://hllm.dev/settings/api-keys'
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue