Use public Gemini API in CLI

/cc @SevInf @arikon
`exitCoa` only creates a promise, that should be returned from `act` to exit with given code, its not actually exits. Probably, it is also a good time to rename `exitCoa` to something like `createExitPromise`, current name is misleading.