Spaces:
Running
Running
Update app/actions/rewrite-prompt.ts
Browse files
app/actions/rewrite-prompt.ts
CHANGED
|
@@ -50,6 +50,9 @@ Make sure to return the prompt in the same language as the prompt you are given.
|
|
| 50 |
return rewrittenPrompt || prompt;
|
| 51 |
}
|
| 52 |
|
|
|
|
|
|
|
|
|
|
| 53 |
// If markers are not found, return the original prompt as a fallback
|
| 54 |
return prompt;
|
| 55 |
|
|
|
|
| 50 |
return rewrittenPrompt || prompt;
|
| 51 |
}
|
| 52 |
|
| 53 |
+
// billTo parameter is kept for API compatibility but not used in Gemini API
|
| 54 |
+
console.log(`API call made${billTo ? ` with billing to ${billTo}` : ''}`);
|
| 55 |
+
|
| 56 |
// If markers are not found, return the original prompt as a fallback
|
| 57 |
return prompt;
|
| 58 |
|