Consistent Output Gemini, optimize parametter for reproducible

Hi folk,
im currently using gemini for some task, and i want to have deterministic output, although i have set temp, topP = 0. I recently know there is a param called “seed” for consitent output but seed param only work with google genai sdk, is there any way to work this out with openai library.

Hi @Ngyn_An, At present When using gemini models with the open AI library the seed argument is not supported if you want you use this argument for Gemini models you have use the Google gen AI sdk. Thank You.