chore: update base application package dependencies and configuration files
This commit is contained in:
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
@@ -8,6 +8,7 @@ License: MIT
|
|||||||
Requires-Python: >=3.7
|
Requires-Python: >=3.7
|
||||||
Description-Content-Type: text/markdown
|
Description-Content-Type: text/markdown
|
||||||
Requires-Dist: aiohttp
|
Requires-Dist: aiohttp
|
||||||
|
Requires-Dist: aiohttp-jinja2
|
||||||
Requires-Dist: dataset
|
Requires-Dist: dataset
|
||||||
Requires-Dist: ipython
|
Requires-Dist: ipython
|
||||||
Requires-Dist: openai
|
Requires-Dist: openai
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
aiohttp
|
aiohttp
|
||||||
|
aiohttp-jinja2
|
||||||
dataset
|
dataset
|
||||||
ipython
|
ipython
|
||||||
openai
|
openai
|
||||||
|
|||||||
+7
-4
@@ -1,12 +1,11 @@
|
|||||||
import argparse
|
import argparse
|
||||||
import base64
|
import base64
|
||||||
import json
|
import json
|
||||||
|
import pathlib
|
||||||
import time
|
import time
|
||||||
import uuid
|
import uuid
|
||||||
import pathlib
|
|
||||||
import aiohttp_jinja2
|
|
||||||
import jinja2
|
|
||||||
|
|
||||||
|
import aiohttp_jinja2
|
||||||
import dataset
|
import dataset
|
||||||
from aiohttp import web
|
from aiohttp import web
|
||||||
|
|
||||||
@@ -44,7 +43,11 @@ class BaseApplication(RPCApplication):
|
|||||||
middlewares.append(self.request_middleware)
|
middlewares.append(self.request_middleware)
|
||||||
middlewares.append(self.base64_auth_middleware)
|
middlewares.append(self.base64_auth_middleware)
|
||||||
middlewares.append(self.session_middleware)
|
middlewares.append(self.session_middleware)
|
||||||
self.template_path = template_path and template_path or pathlib.Path(__file__).parent / "templates"
|
self.template_path = (
|
||||||
|
template_path
|
||||||
|
and template_path
|
||||||
|
or pathlib.Path(__file__).parent / "templates"
|
||||||
|
)
|
||||||
self.agents = {}
|
self.agents = {}
|
||||||
super().__init__(middlewares=middlewares, *args, **kwargs)
|
super().__init__(middlewares=middlewares, *args, **kwargs)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user