gephyr 1.16.18

Gephyr is a headless local AI relay/proxy API handling OpenAI, Claude, and Gemini-compatible APIs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

    #[test]
    fn test_custom_web_search_function_downgrade() {
        let tools = Some(vec![json!({
            "functionDeclarations": [
                { "name": "web_search", "parameters": {} }
            ]
        })]);

        let config = resolve_request_config("gemini-3-pro", "gemini-3-pro", &tools);

        assert_eq!(config.request_type, "web_search");
        assert_eq!(config.final_model, "gemini-3-flash");
        assert!(config.inject_google_search);
    }