You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(xai): add mcpServer tool for MCP server support
- Adds xai.tools.mcpServer() for connecting to remote MCP servers via xAI's Responses API
- Includes MCP type definition in XaiResponsesTool with all xAI API fields
- Adds args validation and camelCase to snake_case transformation
- Includes streaming event schemas for MCP calls (mcp_call, response.mcp_call.* events)
- Refactors streaming to match OpenAI pattern: emit text-end from done event, not text-delta with full content
-**ChilesandSpices**: Localchiles (e.g., Sonora's chiltepin, a tiny, potent pepper) add heat, while cumin, oregano, and cilantro provide earthy flavors. Beans (frijoles) and corn are staples, often prepared simply to highlight natural tastes.
Sonora's style emerged from indigenous Yaqui and Mayo tribes, who used desert foraging, combined with Spanish colonial methods like cattle ranching. Post-Mexican-American War migration boosted American elements, creating dishes like flour-based tacos. Today, it'scelebratedincitieslikeHermosilloandTucson (Arizona), influencingSouthwesternU.S. cuisine. FestivalsliketheSonoraInternationalGastronomicFestivalhighlightitsevolution, andit's known for its focus on quality ingredients over elaborate preparations, making it accessible and flavorful for everyday meals. If you'reexploring, localmarkets (tianguis) arethebestplacestoexperienceauthenticflavors.",
SonorancuisineoriginatesfromtheSonoraregioninnorthwesternMexico, characterized by its simplicity, fresh ingredients, and emphasis on grilling and bold flavors. Unlike spicier Mexican cuisines from other regions, it's notably milder, relying on the region's abundant desert produce and livestock. This style blends indigenous influences (e.g., fromYaquiandMayopeoples) with Spanish colonial elements, resulting in hearty, straightforward dishes that highlight natural tastes over complex preparations.
7057
-
7058
-
### Key Ingredients and Flavors
7059
-
- **Mild Chilies and Heat**: The signature is the Mexican Sonora chile (amild, fruitypepper), often used fresh or roasted. Unlike hotter varieties in Yucatán or Oaxaca, Sonoran food avoids excessive spice, focusing on subtle sweetness and smokiness.
7060
-
- **Desert and Local Produce**: Staples include nopales (cactuspads), beans, corn, tomatoes, and onions. The arid climate favors grilled or fresh preparations, with minimal sauces.
7061
-
- **Proteins**: Beef, especially in carne asada (grilledskirtsteak), is dominant, reflecting Sonora's cattle ranching history. Other meats like pork or chicken are common, often seasoned simply with garlic, lime, and herbs.
7062
-
- **Influence of the Sea and Land**: Coastal areas incorporate seafood (e.g., shrimporfish), while inland focuses on ranch-raised meats. Dairy is rare, emphasizing Mexican crema or cheese sparingly.
7063
-
7064
-
### Notable Dishes and Preparation Styles
7065
-
- **Grilling as a Core Technique**: Many dishes are cooked over open flames or on a comal, imparting a charred, smoky flavor. This is seen in carne asada, served with tortillas, guacamole, and pico de gallo.
7066
-
- **Iconic Foods**:
7067
-
- **Machaca**: Shredded, dried beef slow-cooked with eggs, onions, and chilies— a breakfast staple that's simple yet flavorful.
7068
-
- **Tamales**: Steamed corn masa filled with meat or cheese, often wrapped in corn husks; Sonoran versions are less sauced than those in central Mexico.
7069
-
- **Chimichangas**: Fried burritos, a Sonora-influenced Tex-Mex creation, highlighting the region's border proximity to Arizona.
7070
-
- **Beverages**: Agua fresca (fruitwaters) from local fruits like watermelon or hibiscus, and horchata, a rice-based drink, complement meals.
7071
-
7072
-
### Cultural and Regional Context
7073
-
Sonoran's style is practical for its hot, dry climate—dishes are quick to prepare and preserve well. It's less ornate than Yucatecan or Jaliscan cuisines, prioritizing sustenance over elaboration. In the U.S., especially Arizona, Sonoran influences appear in fusion foods like Mexican hot dogs (bacon-wrappedwithbeansandsalsa). This cuisine's notable restraint in spice and focus on grilling make it distinct, emphasizing the desert's bounty for authentic, approachable meals.",
SonoranfoodoriginatesfromtheSonoranDesertregion, spanning parts of northern Mexico (especiallySonorastate) and southern Arizona. It's a rustic, resourceful style shaped by the arid environment, blending Indigenous, Spanish, and Mexican influences. Unlike the more complex, mole-heavy cuisines of central Mexico, Sonoran fare emphasizes simplicity, fresh local ingredients, and bold, smoky flavors from grilling and chiles. It's practical for desert living, focusing on sustenance with minimal processing.
10495
-
10496
-
### Key Ingredients and Characteristics
10497
-
- **Local Produce and Staples**: Heavily reliant on desert-sourced items like nopales (pricklypearcactuspads), which are grilled or sautéed for their tangy, crisp texture. Beans (pintoorblack), corn, and chiles (e.g., chilipequinorjalapeños) are ubiquitous, often used fresh or dried. Tomatoes, onions, and herbs like cilantro add freshness.
10498
-
- **Proteins**: Beef, pork, and chicken dominate, with grilling (asado) as a core technique, infusing meats with smoky char. Seafood appears in coastal Sonoran areas, like shrimp or fish tacos.
10499
-
- **Bold Flavors and Simplicity**: Dishes avoid heavy sauces; instead, they rely on spices, lime, and chiles for heat and acidity. Tortillas (cornorflour) serve as the base, with minimal elaboration—think of it as "desert pragmatism" where food is hearty yet straightforward to prepare in hot climates.
10500
-
10501
-
### Signature Dishes
10502
-
- **Carne Asada**: Grilled skirt or flank steak marinated in lime, garlic, and cumin, served with tortillas, salsa, and beans. It's the region's barbecue staple, often enjoyed at family gatherings.
10503
-
- **Sonoran Hot Dogs**: A fusion delight where a bacon-wrapped hot dog is topped with pinto beans, salsa, onions, and mustard in a bun. Originating in Hermosillo, Mexico, it's a street food icon, blending American and Mexican influences.
10504
-
- **Tacos and Tamales**: Tacos are filled with grilled meats, nopales, or cheese, while tamales use corn masa wrapped in corn husks and steamed, often stuffed with pork or chicken.
10505
-
- **Chimichangas**: Deep-fried burritos, more associated with Arizona's Mexican-American adaptations, filled with meat, cheese, and beans.
10506
-
10507
-
### Cultural and Regional Notes
10508
-
Sonoran cuisine reflects Indigenous roots from tribes like the Tohono O'odham and Yaqui, who taught Europeans to use desert plants for survival. Spanish colonialists added wheat flour and livestock. In Mexico's Sonora, it's more traditional and seafood-influenced near the Gulf of California, while in Arizona, it incorporates Tex-Mex elements like flour tortillas and cheese. This style stands out for its resilience and adaptability, making it distinct from coastal Mexican seafood or Yucatecan spice profiles. For authentic experiences, try spots like food trucks in Tucson or markets in Hermosillo.",
@@ -11922,17 +11857,8 @@ exports[`XaiResponsesLanguageModel > doStream > text streaming > should stream w
11922
11857
"url": "https://x.ai/",
11923
11858
},
11924
11859
{
11925
-
"delta": "xAI is an American artificial intelligence company founded by Elon Musk in July 2023. Its mission is to "understandthetruenatureoftheuniverse" by advancing scientific discovery through AI. The company is based in the San Francisco Bay Area and focuses on developing advanced AI models, including the Grok chatbot (integrated with the X platform, formerly Twitter).
11926
-
11927
-
Keypoints:
11928
-
-**FoundersandTeam**: LedbyElonMusk, with a team of engineers and researchers from companies like OpenAI, Google DeepMind, and Tesla.
11929
-
- **Products**: xAI has released Grok-1 (anopen-sourcelargelanguagemodel) and subsequent versions like Grok-1.5 and Grok-2, which power conversational AI tools.
11930
-
- **Funding**: Raised significant venture capital, including a $6 billion Series B round in 2024, valuing the company at around $24 billion.
11931
-
- **Philosophy**: Emphasizes curiosity-driven AI development, with a focus on truth-seeking and avoiding overly restrictive safety measures compared to competitors.
11932
-
11933
-
Note: "XAI"canalsoreferto"Explainable AI,"afieldinmachinelearningthatmakesAIdecisionstransparentandinterpretabletohumans. Ifthat's what you meant, let me know for more details! For the latest updates, check x.ai.",
0 commit comments