From 6983b88a1035618a5318ea46d9f12e8951eb15c3 Mon Sep 17 00:00:00 2001 From: 0007 <0007@qq.com> Date: Wed, 27 Aug 2025 19:57:39 +0800 Subject: [PATCH] Add File --- .../agentsflex/llm/vllm/test/WeatherFunctions.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 agents-flex-llm/agents-flex-llm-vllm/src/test/java/com/agentsflex/llm/vllm/test/WeatherFunctions.java diff --git a/agents-flex-llm/agents-flex-llm-vllm/src/test/java/com/agentsflex/llm/vllm/test/WeatherFunctions.java b/agents-flex-llm/agents-flex-llm-vllm/src/test/java/com/agentsflex/llm/vllm/test/WeatherFunctions.java new file mode 100644 index 0000000..71afa2f --- /dev/null +++ b/agents-flex-llm/agents-flex-llm-vllm/src/test/java/com/agentsflex/llm/vllm/test/WeatherFunctions.java @@ -0,0 +1,14 @@ +package com.agentsflex.llm.vllm.test; + +import com.agentsflex.core.llm.functions.annotation.FunctionDef; +import com.agentsflex.core.llm.functions.annotation.FunctionParam; + +public class WeatherFunctions { + + @FunctionDef(name = "get_the_weather_info", description = "get the weather info") + public static String getWeatherInfo( + @FunctionParam(name = "city", description = "the city name") String name + ) { + return "Today it will be dull and overcast in " + name; + } +}