Skip to content

Commit 1772b5a

Browse files
committed
1 parent a19ee94 commit 1772b5a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@ private[service] trait OpenAIServiceImpl
114114
Param.assistant_id -> Some(assistantId),
115115
Param.thread -> thread.map(Json.toJson(_)),
116116
Param.instructions -> Some(instructions),
117-
// TODO: tools are ignored?
118-
// Param.tools -> Some(Json.toJson(tools)),
117+
Param.tools -> Some(Json.toJson(tools)),
119118
Param.tool_resources -> toolResources.map(Json.toJson(_)),
120119
Param.tool_choice -> toolChoice.map(Json.toJson(_))
121120
)

0 commit comments

Comments
 (0)