Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Commit b24d6ee

Browse files
committed
support GPT-4-Turbo API Test unit
1 parent 2f3bc1e commit b24d6ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/dev/ai4j/openai4j/chat/ChatCompletionStreamingTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class ChatCompletionStreamingTest extends RateLimitAwareTest {
2727
private static final String USER_MESSAGE = "write exactly the following 2 words: 'hello world'";
2828

2929
private final OpenAiClient client = OpenAiClient.builder()
30-
.openAiApiKey("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")
30+
.openAiApiKey(System.getenv("OPENAI_API_KEY"))
3131
.proxy(new Proxy(HTTP, new InetSocketAddress("127.0.0.1",7890)))
3232
.logRequests()
3333
.logResponses()

0 commit comments

Comments
 (0)