Skip to content

Commit

Permalink
feat: add coze cn (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
plutoless authored Dec 7, 2024
1 parent 4e4e126 commit e6c28a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion demo/src/common/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const DEFAULT_AGENT_SETTINGS = {
}

export enum ECozeBaseUrl {
// CN = "https://api.coze.cn",
CN = "https://api.coze.cn",
GLOBAL = "https://api.coze.com",
}

Expand Down
3 changes: 3 additions & 0 deletions demo/src/components/Dialog/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,9 @@ export function CozeSettingsTab(props: {
<SelectItem value={ECozeBaseUrl.GLOBAL}>
{ECozeBaseUrl.GLOBAL}
</SelectItem>
<SelectItem value={ECozeBaseUrl.CN}>
{ECozeBaseUrl.CN}
</SelectItem>
{/* <SelectItem value={ECozeBaseUrl.CN}>
{ECozeBaseUrl.CN}
</SelectItem> */}
Expand Down

0 comments on commit e6c28a4

Please sign in to comment.