Skip to content

Commit e62b141

Browse files
fix: add some debug logs to aicg (#9850)
1 parent 563b78d commit e62b141

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

apps/ai-content-generator/src/components/app/dialog/common-generator/output/output-text-panels/OutputTextPanels.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ const OutputTextPanels = (props: Props) => {
4747
};
4848

4949
const generate = () => {
50+
// Log the model being used for generation
51+
// eslint-disable-next-line no-console
52+
console.log('AI Content Generator: Using model', ai.model);
5053
onGenerate(ai.generateMessage);
5154
};
5255

apps/ai-content-generator/src/hooks/dialog/useAI.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ const useAI = () => {
128128
sendStopSignal,
129129
error,
130130
hasError,
131+
model: sdk.parameters.installation.model ?? defaultModelId,
131132
};
132133
};
133134

0 commit comments

Comments
 (0)