-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed9752c
commit 3999460
Showing
11 changed files
with
335 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from pydantic import BaseModel, Field, validator, root_validator, EmailStr, UrlStr | ||
from typing import List, Optional | ||
from datetime import datetime | ||
|
||
|
||
class HelloWorld(BaseModel): | ||
"""A simple Pydantic model for displaying a message.""" | ||
message: str = Field(default="Hello, World!", title="", description="A simple message to be displayed.") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,185 @@ | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 500 Internal Server Error" | ||
Retrying request to /completions in 0.759643 seconds | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 500 Internal Server Error" | ||
Retrying request to /completions in 1.952363 seconds | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 500 Internal Server Error" | ||
Retrying request to /completions in 0.767330 seconds | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 500 Internal Server Error" | ||
Retrying request to /completions in 1.751419 seconds | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 500 Internal Server Error" | ||
Retrying request to /completions in 0.847209 seconds | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 500 Internal Server Error" | ||
Retrying request to /completions in 1.803567 seconds | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 500 Internal Server Error" | ||
Backing off request(...) for 0.2s (openai.InternalServerError: Error code: 500 - {'error': {'message': 'The server had an error processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if you keep seeing this error. (Please include the request ID req_ab8d232d6bb8f337c7d61e4d04506240 in your email.)', 'type': 'server_error', 'param': None, 'code': None}}) | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 500 Internal Server Error" | ||
Retrying request to /completions in 0.785643 seconds | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 500 Internal Server Error" | ||
Retrying request to /completions in 0.957306 seconds | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK" | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
Note: NumExpr detected 10 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. | ||
NumExpr defaulting to 8 threads. | ||
HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 200 OK" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from rdddy.event import Event | ||
from rdddy.messages import AbstractEvent | ||
|
||
|
||
class CheckoutFormSubmitted(Event): | ||
class CheckoutFormSubmitted(AbstractEvent): | ||
"""Generated class for CheckoutFormSubmitted, inheriting from Event.""" | ||
|
||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.