DataMind Oda usually opens in its own window. It can also serve the same interface to a browser on your computer: start the browser surface, then work in a browser tab with your chats, the model picker and settings.
Open a terminal on the computer where Oda runs.
Start the browser surface:
oda --profile web
Oda starts serving the interface. It prints the address, for example http:/, and opens it in your default browser.
The address Oda prints the first time ends with a one-time sign-in token. Open it exactly as printed; after that first page load, the plain address works on its own.
You can add options to the start command:
| Option | What it does |
|---|---|
--no-open | Starts the surface without opening a browser. |
--port <port> | Serves on another port instead of 3080. |
--trusted-host <host> | Accepts an extra hostname (or hostname and port) for reaching the interface. Repeat the option to allow more than one. |
To start Oda's other modes and run single tasks, see Command line.
The surface keeps running in the terminal until you stop it (Ctrl+C).
By default, Oda serves the interface to this computer only. The address uses 127. and port 3080, so other computers cannot open it.
Oda refuses to open the interface to the whole network: a start that binds all network interfaces is refused. If you reach the interface through another hostname, add it with --trusted-host.
Oda reads the computer's network addresses once, when it starts. If they change while it runs, restart the surface.
Yes. Add --port and the port you want, for example oda --profile web --port 8080. The default is 3080. To let the system pick a free port, pass --port 0. A value that is not a number is refused.
Oda skips opening a browser when you add --no-open, or when you start the surface on a remote computer: then it only prints the address. If it tried and could not open your browser, it keeps serving and points you to the printed address. Open that address yourself.
Oda prints the address of the computer it runs on and does not open a browser. On your own computer, open the forwarded address that your remote connection provides.
No. Oda accepts connections from this computer only, and a start that would bind all network interfaces is refused.
--trusted-host?When you open the interface under a hostname other than its local address, for example one your forwarding or proxy setup provides. Add that hostname, or hostname and port, with --trusted-host; repeat the option to allow more than one.
Yes. The browser surface is the same Oda interface, with your chats, the model picker, settings and session history. For how to work in it, see Chat with Oda.
If Oda cannot find the built page files, it stops with a message instead of serving an empty page. Reinstall Oda, or build the interface first when you run Oda from a source checkout, then start it again.
In the terminal where it runs, press Ctrl+C. The interface stops serving, and the browser page stops working.