feat(web): per-thread/per-spoon runtime picker and Anthropic OAuth provider profile
This commit is contained in:
@@ -13,7 +13,11 @@ const reasoningEffort = v.union(
|
||||
v.literal('xhigh'),
|
||||
);
|
||||
|
||||
const runtime = v.literal('opencode');
|
||||
const runtime = v.union(
|
||||
v.literal('codex'),
|
||||
v.literal('opencode'),
|
||||
v.literal('claude'),
|
||||
);
|
||||
|
||||
const envFilePath = v.union(
|
||||
v.literal('.env'),
|
||||
@@ -123,7 +127,7 @@ export const update = mutation({
|
||||
patch.testCommand = optionalText(args.testCommand);
|
||||
}
|
||||
if (args.runtime !== undefined) {
|
||||
patch.runtime = 'opencode';
|
||||
patch.runtime = args.runtime;
|
||||
}
|
||||
if (args.agentModel !== undefined) {
|
||||
patch.agentModel = optionalText(args.agentModel) ?? defaults.agentModel;
|
||||
|
||||
Reference in New Issue
Block a user