Skip to content
Source
Sign inSign up
pingdotgg/t3code

refactor(settings): drop the legacy per-driver providers map #17285

Closedjuliusmarmingewants to merge 2 commits intot3/provider-testing fromt3/drop-legacy-provider-settingsopened View on GitHub

Showing 32 changed files with 27 additions and 11 deletions (loading 29).

x
0 of 32 viewed, 32 left
7 additions and 2 deletionsapps/server/src/orchestration-v2/CursorOrchestratorV2.live.test.tsModified
View file
@@ -7,6 +7,8 @@
CommandId,
MessageId,
ProjectId,
+ ProviderDriverKind,
+ ProviderInstanceId,
ThreadId,
type OrchestrationV2ThreadProjection,
} from "@t3tools/contracts";
@@ -60,8 +62,11 @@
const layerCheckpointStore = CheckpointStore.layer.pipe(Layer.provide(layerVcsDriverRegistry));
​
const layerServerSettings = ServerSettings.layerTest({
- providers: {
- cursor: { enabled: true },
+ providerInstances: {
+ [ProviderInstanceId.make("cursor")]: {
+ driver: ProviderDriverKind.make("cursor"),
+ enabled: true,
+ },
},
});
const layerBackgroundPolicy = BackgroundPolicy.layer.pipe(
7 additions and 2 deletionsapps/server/src/orchestration-v2/GrokOrchestratorV2.live.test.tsModified
View file
@@ -8,6 +8,8 @@
MessageId,