Commit 8ff40b5
authored
fix(copilotchat): limit function names to 64 characters (#243)
Add a safeguard in `create_function_name` to ensure generated function names do not exceed 64 characters. This prevents potential issues with overly long function names when registering MCP tools and resources as CopilotChat functions.1 parent 7804697 commit 8ff40b5
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
39 | 44 | | |
40 | 45 | | |
41 | 46 | | |
| |||
0 commit comments