Skip to content

Commit 5d472cf

Browse files
fix(wa v1&v2): update default service name
1 parent dcd7157 commit 5d472cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

assistant/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import { getSdkHeaders } from '../lib/common';
4343
class AssistantV1 extends BaseService {
4444
static DEFAULT_SERVICE_URL: string = 'https://api.us-south.assistant.watson.cloud.ibm.com';
4545

46-
static DEFAULT_SERVICE_NAME: string = 'conversation';
46+
static DEFAULT_SERVICE_NAME: string = 'assistant';
4747

4848
/** Release date of the API version you want to use. Specify dates in YYYY-MM-DD format. The current version is
4949
* `2021-11-27`.

assistant/v2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import { getSdkHeaders } from '../lib/common';
4646
class AssistantV2 extends BaseService {
4747
static DEFAULT_SERVICE_URL: string = 'https://api.us-south.assistant.watson.cloud.ibm.com';
4848

49-
static DEFAULT_SERVICE_NAME: string = 'conversation';
49+
static DEFAULT_SERVICE_NAME: string = 'assistant';
5050

5151
/** Release date of the API version you want to use. Specify dates in YYYY-MM-DD format. The current version is
5252
* `2024-08-25`.

0 commit comments

Comments
 (0)