Sxnan opened a new issue, #135:
URL: https://github.com/apache/flink-agents/issues/135

   ### Search before asking
   
   - [x] I searched in the 
[issues](https://github.com/apache/flink-agents/issues) and found nothing 
similar.
   
   ### Description
   
   Currently, when we define a resource, such as a chat model, as below:
   
   ```python
       @chat_model
       @staticmethod
       def math_chat_model() -> Tuple[Type[BaseChatModelSetup], Dict[str, Any]]:
           """ChatModel which focus on math, and reuse ChatModelServer."""
           return OllamaChatModelSetup, {
               "name": "math_chat_model",
               "connection": "ollama_server",
               "tools": ["add"],
           }
   ```
   
   We specify the name of the resource, which is typically the same as the 
function name. We should avoid such duplication.
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to