Skip to content

Commit

Permalink
remove aiMode
Browse files Browse the repository at this point in the history
  • Loading branch information
Yen Truong committed May 23, 2024
1 parent 22abb07 commit 87cad30
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion etc/chat-core.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ export enum Environment {
//
// @internal
export interface InternalConfig {
aiMode?: string;
promptPackage?: ChatPrompt;
}

Expand Down
2 changes: 0 additions & 2 deletions src/infra/ChatCoreImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export class ChatCoreImpl implements ChatCore {
...request,
version: this.chatConfig.version,
promptPackage: this.internalConfig.promptPackage,
aiMode: this.internalConfig.aiMode,
};
const rawResponse = await this.httpService.post(
this.endpoints.chat,
Expand Down Expand Up @@ -81,7 +80,6 @@ export class ChatCoreImpl implements ChatCore {
...request,
version: this.chatConfig.version,
promptPackage: this.internalConfig.promptPackage,
aiMode: this.internalConfig.aiMode,
};
const rawResponse = await this.httpService.post(
this.endpoints.chatStream,
Expand Down
5 changes: 0 additions & 5 deletions src/models/InternalConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,4 @@ export interface InternalConfig {
* Defaults to "stable", which is the set of tested and verified prompts.
*/
promptPackage?: ChatPrompt;
/**
* Modes to determine types of models to use when sending requests the bot's
* instruction steps.
*/
aiMode?: string;
}
2 changes: 0 additions & 2 deletions src/models/endpoints/MessageRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,4 @@ export interface ApiMessageRequest {
notes?: MessageNotes;
/** {@inheritDoc InternalConfig.promptPackage} */
promptPackage?: ChatPrompt;
/** {@inheritDoc InternalConfig.aiMode} */
aiMode?: string;
}

0 comments on commit 87cad30

Please sign in to comment.