use enriched city in generation functions

This commit is contained in:
Aaron Po
2026-07-17 21:11:23 -04:00
parent 5a8a9f4652
commit 320696fb92
6 changed files with 23 additions and 25 deletions

View File

@@ -36,7 +36,9 @@ static std::string FormatLocalLanguageCodes(
static constexpr int kBreweryInitialMaxTokens = 2800;
BreweryResult LlamaGenerator::GenerateBrewery(
const Location& location, const std::string& region_context) {
const EnrichedCity& enriched_city) {
const City& location = enriched_city.location;
const std::string& region_context = enriched_city.region_context;
/**
* Preprocess and truncate region context to manageable size
*/