letta 0.1.2

A robust Rust client for the Letta REST API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
def get_weather(location: str, units: str = "celsius") -> str:
    """
    Get current weather for a location.
    
    Args:
        location: The city or location to get weather for
        units: Temperature units - either 'celsius' or 'fahrenheit'
        
    Returns:
        str: A description of the current weather
    """
    # This is a mock implementation
    return f"The weather in {location} is sunny and 22 degrees {units}"