File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ edgee = Edgee("your-api-key")
2020
2121# Send a simple request
2222response = edgee.send(
23- model = " gpt-4o " ,
23+ model = " gpt-5.2 " ,
2424 input = " What is the capital of France?"
2525)
2626
@@ -34,7 +34,7 @@ The `send()` method makes non-streaming chat completion requests:
3434
3535``` python
3636response = edgee.send(
37- model = " gpt-4o " ,
37+ model = " gpt-5.2 " ,
3838 input = " Hello, world!"
3939)
4040
@@ -58,7 +58,7 @@ if response.compression:
5858The ` stream() ` method enables real-time streaming responses:
5959
6060``` python
61- for chunk in edgee.stream(" gpt-4o " , " Tell me a story" ):
61+ for chunk in edgee.stream(" gpt-5.2 " , " Tell me a story" ):
6262 if chunk.text:
6363 print (chunk.text, end = " " , flush = True )
6464
Original file line number Diff line number Diff line change 8787Based on this context, summarize the key milestones in AI development in 3 bullet points."""
8888
8989response = edgee .send (
90- model = "gpt-4o " ,
90+ model = "gpt-5.2 " ,
9191 input = {
9292 "messages" : [
9393 {"role" : "user" , "content" : user_message },
Original file line number Diff line number Diff line change 3737# Test 3: With tools
3838print ("Test 3: With tools" )
3939response3 = edgee .send (
40- model = "gpt-4o " ,
40+ model = "gpt-5.2 " ,
4141 input = {
4242 "messages" : [{"role" : "user" , "content" : "What is the weather in Paris?" }],
4343 "tools" : [
You can’t perform that action at this time.
0 commit comments