-
-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Context doesn't work anymore #2613
Comments
If you enable debug mode, do you see logs for strip messages? |
I don't know how to go into debug mode. var messages = new List<AIChatMessage>
{
new AIChatMessage
{
Role = "system",
Content = SystemMessage
}
};
await foreach (var message in history)
{
messages.Add(message);
}
messages.Add(new AIChatMessage
{
Role = "user",
Content = prompt
});
var postJson = JsonConvert.SerializeObject(new AIChatRequest
{
Messages = messages,
Model = model,
Provider = provider,
WebSearch = true,
Temperature = 0.5f,
HistoryDisabled = true,
Stream = false,
MaxTokens = 400,
AutoContinue = true,
Timeout = (int)(_http.Timeout.TotalSeconds * 0.75)
}); |
Also tried using gemini-1.5-pro from AIChatFree. Doesn't work |
@BlyZeDev You don't have the JSON Body from your Requests? In the Interfaces ist can't see a issue. |
Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again. |
Bug description
All AI's I tested don't work with context anymore.
I give the whole message context using the messages json property.
ex.
Environment
Additional context
It worked some versions ago (can't recall which broke it)
The text was updated successfully, but these errors were encountered: