mirror of
https://github.com/open-webui/pipelines.git
synced 2026-07-21 01:55:22 -04:00
Google Manifold pipeline needs to be updated to use native system instructions on models other than Gemini 1.5 #173
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rotemdan on GitHub (Dec 14, 2024).
Pull request #194 added conservative logic to use the native system instructions only when the model name includes the substring
gemini-1.5, sincegemini-1.0doesn't support it:This doesn't apply to newer Gemini versions like
gemini-2.0,gemini-expandlearnlm.In my own local usage I don't care about using the old
1.0models and simply changed to always usesystem_instruction=system_message.In general, I can't really give a 100% robust solution that would be guaranteed to work on all future versions and variants of Gemini, but it's likely they will allow native system instructions for future models.
Less conservative approach would be to use native system instructions by default, unless it's Gemini 1.0. Something like:
I can't make a pull request unless I know exactly what approach the developer prefers. In any case, I don't think that anybody seriously uses Gemini 1.0 anymore, unless for comparison with older models, maybe.
@rotemdan commented on GitHub (Dec 14, 2024):
Update: trying to use
gemini-1.0-pro-latestcurrently gives the error:Other model identifiers for Gemini 1.0 still work.
I've submitted a pull request.