mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-10 12:21:16 +02:00
17 lines
446 B
TypeScript
17 lines
446 B
TypeScript
import * as Alchemy from "alchemy";
|
|
import * as GCP from "alchemy/GCP";
|
|
import * as Effect from "effect/Effect";
|
|
import Chat from "./src/Chat.ts";
|
|
|
|
export default Alchemy.Stack(
|
|
"GcpVertexAiExample",
|
|
{ providers: GCP.providers(), state: Alchemy.localState() },
|
|
Effect.gen(function* () {
|
|
const chat = yield* Chat;
|
|
return {
|
|
url: chat.uri,
|
|
serviceName: chat.name,
|
|
serviceAccount: chat.serviceAccount,
|
|
};
|
|
}),
|
|
);
|