Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -7,7 +7,8 @@ from azure.ai.inference import ChatCompletionsClient
|
|
7 |
from azure.ai.inference.models import SystemMessage, UserMessage
|
8 |
from azure.core.credentials import AzureKeyCredential
|
9 |
from pydantic.dataclasses import rebuild_dataclass
|
10 |
-
|
|
|
11 |
os.environ["GITHUB_TOKEN"] = os.environ["GITHUB_TOKEN"]
|
12 |
|
13 |
@cl.step(type="tool", show_input=True)
|
|
|
7 |
from azure.ai.inference.models import SystemMessage, UserMessage
|
8 |
from azure.core.credentials import AzureKeyCredential
|
9 |
from pydantic.dataclasses import rebuild_dataclass
|
10 |
+
rebuild_dataclass(CodeSettings)
|
11 |
+
|
12 |
os.environ["GITHUB_TOKEN"] = os.environ["GITHUB_TOKEN"]
|
13 |
|
14 |
@cl.step(type="tool", show_input=True)
|