Skip to content

Commit b6b6a40

Browse files
committed
Remove commented-out debug code from loadOpenCodeInventory
1 parent abf4333 commit b6b6a40

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

apps/server/src/provider/opencodeRuntime.ts

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -535,29 +535,6 @@ const makeOpenCodeRuntime = Effect.gen(function* () {
535535
}),
536536
),
537537
);
538-
// Effect.tryPromise({
539-
// try: async () => {
540-
// const [providerListResult, agentsResult] = await Promise.all([
541-
// client.provider.list(),
542-
// client.app.agents(),
543-
// ]);
544-
// console.log(JSON.stringify(providerListResult, null, 4));
545-
// console.log(JSON.stringify(agentsResult, null, 4));
546-
// if (!providerListResult.data) {
547-
// throw new Error("OpenCode provider inventory was empty.");
548-
// }
549-
// return {
550-
// providerList: providerListResult.data,
551-
// agents: agentsResult.data ?? [],
552-
// } satisfies OpenCodeInventory;
553-
// },
554-
// catch: (cause) =>
555-
// new OpenCodeRuntimeError({
556-
// operation: "loadOpenCodeInventory",
557-
// detail: `Failed to load OpenCode inventory: ${openCodeRuntimeErrorDetail(cause)}`,
558-
// cause: cause,
559-
// }),
560-
// });
561538

562539
return {
563540
startOpenCodeServerProcess,

0 commit comments

Comments
 (0)