mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-18 06:04:09 +00:00
chore: simplify examples and print UI URL in runPrompt
- Remove logInspectorUrl calls from all examples - Remove isMainModule checks from e2b, docker, vercel examples - Simplify e2b, docker, vercel to match daytona's direct execution style - Print UI URL at start of runPrompt in shared module
This commit is contained in:
parent
daffabf74c
commit
36c4dde9d2
7 changed files with 120 additions and 207 deletions
|
|
@ -118,6 +118,8 @@ function detectAgent(): string {
|
|||
}
|
||||
|
||||
export async function runPrompt(baseUrl: string): Promise<void> {
|
||||
console.log(`UI: ${buildInspectorUrl({ baseUrl })}`);
|
||||
|
||||
const client = await SandboxAgent.connect({ baseUrl });
|
||||
|
||||
const agent = detectAgent();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue