Augment system prompt with date and user location (default SF)

This commit is contained in:
Agent
2026-05-24 21:59:38 +00:00
committed by James Magahern
parent 600bc3befc
commit 0bf0f95a67
10 changed files with 121 additions and 19 deletions

View File

@@ -661,6 +661,7 @@ struct CompletionStreamRequest: Codable, Sendable {
var provider: Provider
var model: String
var messages: [CompletionRequestMessage]
var userLocation: String? = nil
}
private struct ChatCreateBody: Encodable {