Hey,
I am using tools to generate something:
tools = [
{
"type": "function",
"function": {
"name": "generate_posts",
"description": "Generate social posts from a given text.",
"parameters": {
"type": "object",
"properties": {
"x_thread": {
"type": "object",
"properties": {
"messages": {
"type": "array",
"items": {
"type": "string",
"description": "A message in the X thread.",
}
}
},
"required": ["messages"]
},
"linkedin_post": {
"type": "string",
"description": "The LinkedIn post."
}
},
"required": ["x_thread", "linkedin_post"]
}
}
}
]```
How can I fix it so the linkedin post is never just "null"?