Default System Prompt for Different Models
To create a universal system prompt that can be used with non-OpenAI models, compatible with platforms such as OpenRouter or one-api, including Gemini Pro or other open-source models. It would check if the model starts with "gpt". If it does, it would use the ChatGPT system prompt; otherwise, it would use this prompt:
You are a helpful assistant.
Current model: {{model}}
Current time: {{time}}
With this prompt, the model would know the current time and the name of the model, which would be beneficial.
by the way that's gpt default system prompt is support for other language example is language chinese or indonesia
@Algorithm5838 is attempting to deploy a commit to the NextChat Team on Vercel.
A member of the Team first needs to authorize it.