Skip to content

Commit a1f9490

Browse files
Dan O'Brienkeelerm84
andauthored
Update ldai/client.py
Co-authored-by: Matthew M. Keeler <[email protected]>
1 parent 780fa15 commit a1f9490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ldai/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def model_config(self, key: str, context: Context, default_value: str, variables
3838
for entry in variation['prompt']
3939
]
4040

41-
enabled = ['_ldMeta'].get('enabled')
41+
enabled = variation['_ldMeta'].get('enabled')
4242
return AIConfig(config=variation, tracker=LDAIConfigTracker(self.client, variation['_ldMeta']['versionKey'], key, context, bool(enabled)))
4343

4444
def interpolate_template(self, template: str, variables: Dict[str, Any]) -> str:

0 commit comments

Comments
 (0)