Change endpoint and schemas to match endpoint in Commute-ai/commute-ai-agents.
-
Update the endpoint from insight/itinerary to /insight/iteneraries
-
Update the Request and Response schema
ItineraryInsightRequest:
- itineraries: list[Itinerary]
- user_preferences: list[PreferenceBase]
ItineraryInsightResponse:
- itenerary_insights: list[ItineraryInsight]
ItineraryInsight:
- ai_insight: str
- leg_insights: list[LegInsight]
LegInsight:
Change endpoint and schemas to match endpoint in Commute-ai/commute-ai-agents.
Update the endpoint from insight/itinerary to /insight/iteneraries
Update the Request and Response schema
ItineraryInsightRequest:
ItineraryInsightResponse:
ItineraryInsight:
LegInsight: