Skip to content

Commit faa9c92

Browse files
committed
docs: add some todos
1 parent 9e6ef38 commit faa9c92

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

openai-java-example/src/main/java/com/openai/example/AssistantAsyncExample.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ public static void main(String[] args) {
1919
.create(BetaAssistantCreateParams.builder()
2020
.name("Math Tutor")
2121
.instructions("You are a personal math tutor. Write and run code to answer math questions.")
22+
// TODO: Update this example once we support `addCodeInterpreterTool()` or similar.
2223
.addTool(CodeInterpreterTool.builder().build())
2324
.model(ChatModel.GPT_4O_MINI)
2425
.build());
2526
CompletableFuture<String> threadIdFuture = client.beta()
2627
.threads()
28+
// TODO: Update this example once we support `.create()` without arguments.
2729
.create(BetaThreadCreateParams.builder().build())
2830
.thenComposeAsync(thread -> client.beta()
2931
.threads()

openai-java-example/src/main/java/com/openai/example/AssistantExample.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ public static void main(String[] args) throws InterruptedException {
1919
.create(BetaAssistantCreateParams.builder()
2020
.name("Math Tutor")
2121
.instructions("You are a personal math tutor. Write and run code to answer math questions.")
22+
// TODO: Update this example once we support `addCodeInterpreterTool()` or similar.
2223
.addTool(CodeInterpreterTool.builder().build())
2324
.model(ChatModel.GPT_4O_MINI)
2425
.build());
2526
Thread thread =
27+
// TODO: Update this example once we support `.create()` without arguments.
2628
client.beta().threads().create(BetaThreadCreateParams.builder().build());
2729
client.beta()
2830
.threads()

0 commit comments

Comments
 (0)