Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

update link of openapi schema for GPT

Forhad Hosaine98dff2ff517
diff --git a/packages/app/src/builder-ui/pages/builder/agent-settings.ts b/packages/app/src/builder-ui/pages/builder/agent-settings.ts
index 6f6856bb..6da6967d 100644
--- a/packages/app/src/builder-ui/pages/builder/agent-settings.ts
+++ b/packages/app/src/builder-ui/pages/builder/agent-settings.ts
@@ -112,8 +112,8 @@ function createAgent() {
agentNameLength < 3
? 'Name should be at least 3 characters long.'
: agentNameLength > 60
- ? 'Name should not be more than 60 characters long.'
- : '';
+ ? 'Name should not be more than 60 characters long.'
+ : '';
agentNameError.classList.toggle('hidden', !isAgentNameInValid);
}
@@ -834,13 +834,13 @@ export async function openChatGPTEmbodiment() {
${
testDomain
? '<li>- Click Import URL and enter the following URL if you want to use your test agent: ' +
- `<b>${scheme}://${testDomain}/api-docs/openapi-llm.json</b></li>`
+ `<b>${scheme}://${testDomain}/api-docs/openapi-gpt.json</b></li>`
: ''
}
${
prodDomain
? '<li> - Click Import URL and enter the following URL if you want to use your production agent: ' +
- `<b>${scheme}://${prodDomain}/api-docs/openapi-llm.json</b></li>`
+ `<b>${scheme}://${prodDomain}/api-docs/openapi-gpt.json</b></li>`
: ''
}
</li>
diff --git a/packages/app/src/react/features/embodiments/gpt-embodiment-modal.tsx b/packages/app/src/react/features/embodiments/gpt-embodiment-modal.tsx
index acd5bac0..7671105d 100644
--- a/packages/app/src/react/features/embodiments/gpt-embodiment-modal.tsx
+++ b/packages/app/src/react/features/embodiments/gpt-embodiment-modal.tsx
@@ -27,8 +27,8 @@ const GptEmbodimentModal: React.FC<GptEmbodimentModalProps> = ({ onClose }) => {
const { dev: devDomain, prod: prodDomain, scheme } = builderStore.getState().agentDomains;
// Calculate Dev and Prod URLs
- const devUrl = devDomain && scheme ? `${scheme}://${devDomain}/api-docs/openapi-llm.json` : '';
- const prodUrl = prodDomain && scheme ? `${scheme}://${prodDomain}/api-docs/openapi-llm.json` : '';
+ const devUrl = devDomain && scheme ? `${scheme}://${devDomain}/api-docs/openapi-gpt.json` : '';
+ const prodUrl = prodDomain && scheme ? `${scheme}://${prodDomain}/api-docs/openapi-gpt.json` : '';
/**
* Copies the given text to clipboard.
@@ -122,4 +122,4 @@ const GptEmbodimentModal: React.FC<GptEmbodimentModalProps> = ({ onClose }) => {
);
};
-export default GptEmbodimentModal;
\ No newline at end of file
+export default GptEmbodimentModal;