We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I set azure info before oengpts start
AZURE_OPENAI_DEPLOYMENT_NAME=xxxx AZURE_OPENAI_API_KEY=xxxx AZURE_OPENAI_API_BASE=xxx AZURE_OPENAI_API_VERSION=xxxx POSTGRES_PORT=5432 POSTGRES_DB=opengpts POSTGRES_USER=opengpts POSTGRES_PASSWORD=opengpts
and start opengpts I set a bot with default ,then I send a message to bot,it comes that
⠿ Container opengpts-frontend Created 0.0s Attaching to opengpts-backend, opengpts-frontend, opengpts-postgres-1, opengpts-postgres-setup-1 opengpts-postgres-1 | opengpts-postgres-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization opengpts-postgres-1 | opengpts-postgres-1 | 2024-04-25 07:25:27.150 UTC [1] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit opengpts-postgres-1 | 2024-04-25 07:25:27.151 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 opengpts-postgres-1 | 2024-04-25 07:25:27.152 UTC [1] LOG: listening on IPv6 address "::", port 5432 opengpts-postgres-1 | 2024-04-25 07:25:27.153 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" opengpts-postgres-1 | 2024-04-25 07:25:27.157 UTC [28] LOG: database system was shut down at 2024-04-25 07:24:54 UTC opengpts-postgres-1 | 2024-04-25 07:25:27.160 UTC [1] LOG: database system is ready to accept connections opengpts-postgres-setup-1 | no change opengpts-postgres-setup-1 exited with code 0 opengpts-backend | INFO: Will watch for changes in these directories: ['/backend'] opengpts-backend | INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit) opengpts-backend | INFO: Started reloader process [1] using StatReload opengpts-postgres-1 | 2024-04-25 07:25:36.702 UTC [41] WARNING: there is already a transaction in progress opengpts-postgres-1 | 2024-04-25 07:25:36.703 UTC [41] WARNING: there is no transaction in progress opengpts-backend | Failed to instantiate ChatOpenAI due to: 1 validation error for ChatOpenAI opengpts-backend | __root__ opengpts-backend | Did not find openai_api_key, please add an environment variable `OPENAI_API_KEY` which contains it, or pass `openai_api_key` as a named parameter. (type=value_error). Falling back to AzureChatOpenAI. opengpts-backend | No UI directory found, serving API only. opengpts-backend | INFO: Started server process [7] opengpts-backend | INFO: Waiting for application startup. opengpts-backend | INFO: Application startup complete. opengpts-backend | INFO: 127.0.0.1:45492 - "GET /health HTTP/1.1" 200 OK opengpts-frontend | yarn run v1.22.19 opengpts-frontend | $ vite --host opengpts-frontend | opengpts-frontend | VITE v4.5.0 ready in 226 ms opengpts-frontend | opengpts-frontend | ➜ Local: http://localhost:5173/ opengpts-frontend | ➜ Network: http://172.22.0.4:5173/ opengpts-backend | INFO: 127.0.0.1:58764 - "GET /health HTTP/1.1" 200 OK opengpts-backend | INFO: 172.22.0.4:52780 - "GET /runs/config_schema HTTP/1.1" 200 OK opengpts-backend | INFO: 172.22.0.4:52764 - "GET /assistants/ HTTP/1.1" 200 OK opengpts-backend | INFO: 172.22.0.4:52750 - "GET /threads/ HTTP/1.1" 200 OK opengpts-backend | INFO: 172.22.0.4:52794 - "GET /runs/config_schema HTTP/1.1" 200 OK opengpts-backend | INFO: 172.22.0.4:52800 - "GET /assistants/ HTTP/1.1" 200 OK opengpts-backend | INFO: 172.22.0.4:52818 - "GET /runs/config_schema HTTP/1.1" 200 OK opengpts-backend | INFO: 172.22.0.4:52806 - "GET /threads/ HTTP/1.1" 200 OK opengpts-backend | INFO: 172.22.0.4:52830 - "GET /runs/config_schema HTTP/1.1" 200 OK opengpts-backend | INFO: 127.0.0.1:42874 - "GET /health HTTP/1.1" 200 OK opengpts-backend | INFO: 127.0.0.1:39290 - "GET /health HTTP/1.1" 200 OK opengpts-backend | INFO: 172.22.0.4:47532 - "GET /runs/config_schema HTTP/1.1" 200 OK opengpts-backend | INFO: 172.22.0.4:47542 - "GET /runs/config_schema HTTP/1.1" 200 OK opengpts-backend | INFO: 127.0.0.1:60078 - "GET /health HTTP/1.1" 200 OK opengpts-backend | INFO: 172.22.0.4:47546 - "POST /assistants HTTP/1.1" 200 OK opengpts-backend | INFO: 172.22.0.4:47554 - "GET /assistants/6644604c-449d-41cb-b384-1cfacfebcf9e HTTP/1.1" 200 OK opengpts-backend | INFO: 172.22.0.4:47562 - "GET /runs/config_schema HTTP/1.1" 200 OK opengpts-backend | INFO: 172.22.0.4:47566 - "GET /assistants/6644604c-449d-41cb-b384-1cfacfebcf9e HTTP/1.1" 200 OK opengpts-backend | INFO: 172.22.0.4:47574 - "GET /runs/config_schema HTTP/1.1" 200 OK opengpts-backend | INFO: 172.22.0.4:57626 - "POST /threads HTTP/1.1" 200 OK opengpts-backend | INFO: 172.22.0.4:57646 - "GET /threads/e85bb94f-cf6f-4cf5-b214-a19c086c7923 HTTP/1.1" 200 OK opengpts-backend | INFO: 172.22.0.4:57642 - "POST /runs/stream HTTP/1.1" 200 OK opengpts-backend | INFO: 172.22.0.4:57656 - "GET /assistants/6644604c-449d-41cb-b384-1cfacfebcf9e HTTP/1.1" 200 OK opengpts-backend | INFO: 172.22.0.4:57676 - "GET /threads/e85bb94f-cf6f-4cf5-b214-a19c086c7923 HTTP/1.1" 200 OK opengpts-backend | INFO: 172.22.0.4:57670 - "GET /threads/e85bb94f-cf6f-4cf5-b214-a19c086c7923/state HTTP/1.1" 200 OK opengpts-backend | INFO: 172.22.0.4:57678 - "GET /threads/e85bb94f-cf6f-4cf5-b214-a19c086c7923/state HTTP/1.1" 200 OK opengpts-backend | error in stream opengpts-backend | Traceback (most recent call last): opengpts-backend | File "/backend/app/stream.py", line 63, in to_sse opengpts-backend | async for chunk in messages_stream: opengpts-backend | File "/backend/app/stream.py", line 23, in astream_state opengpts-backend | async for event in app.astream_events( opengpts-backend | File "/usr/local/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 4711, in astream_events opengpts-backend | async for item in self.bound.astream_events( opengpts-backend | File "/usr/local/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 1137, in astream_events opengpts-backend | async for log in _astream_log_implementation( # type: ignore[misc] opengpts-backend | File "/usr/local/lib/python3.11/site-packages/langchain_core/tracers/log_stream.py", line 616, in _astream_log_implementation opengpts-backend | await task opengpts-backend | File "/usr/local/lib/python3.11/site-packages/langchain_core/tracers/log_stream.py", line 570, in consume_astream opengpts-backend | async for chunk in runnable.astream(input, config, **kwargs): opengpts-backend | File "/usr/local/lib/python3.11/site-packages/langchain_core/runnables/configurable.py", line 221, in astream opengpts-backend | async for chunk in runnable.astream(input, config, **kwargs): opengpts-backend | File "/usr/local/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 4698, in astream opengpts-backend | async for item in self.bound.astream( opengpts-backend | File "/usr/local/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 4698, in astream opengpts-backend | async for item in self.bound.astream( opengpts-backend | File "/usr/local/lib/python3.11/site-packages/langgraph/pregel/__init__.py", line 916, in astream opengpts-backend | _panic_or_proceed(done, inflight, step) opengpts-backend | File "/usr/local/lib/python3.11/site-packages/langgraph/pregel/__init__.py", line 1102, in _panic_or_proceed opengpts-backend | raise exc opengpts-backend | File "/usr/local/lib/python3.11/site-packages/langgraph/pregel/__init__.py", line 1275, in _aconsume opengpts-backend | async for _ in iterator: opengpts-backend | File "/usr/local/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 2900, in astream opengpts-backend | async for chunk in self.atransform(input_aiter(), config, **kwargs): opengpts-backend | File "/usr/local/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 2883, in atransform opengpts-backend | async for chunk in self._atransform_stream_with_config( opengpts-backend | File "/usr/local/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 1979, in _atransform_stream_with_config opengpts-backend | chunk: Output = await asyncio.create_task( # type: ignore[call-arg] opengpts-backend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ opengpts-backend | File "/usr/local/lib/python3.11/site-packages/langchain_core/tracers/log_stream.py", line 237, in tap_output_aiter opengpts-backend | async for chunk in output: opengpts-backend | File "/usr/local/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 2853, in _atransform opengpts-backend | async for output in final_pipeline: opengpts-backend | File "/usr/local/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 1316, in atransform opengpts-backend | async for chunk in input: opengpts-backend | File "/usr/local/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 1316, in atransform opengpts-backend | async for chunk in input: opengpts-backend | File "/usr/local/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 1333, in atransform opengpts-backend | async for output in self.astream(final, config, **kwargs): opengpts-backend | File "/usr/local/lib/python3.11/site-packages/langchain_core/language_models/chat_models.py", line 319, in astream opengpts-backend | raise e opengpts-backend | File "/usr/local/lib/python3.11/site-packages/langchain_core/language_models/chat_models.py", line 297, in astream opengpts-backend | async for chunk in self._astream( opengpts-backend | File "/usr/local/lib/python3.11/site-packages/langchain_openai/chat_models/base.py", line 605, in _astream opengpts-backend | response = await self.async_client.create(messages=message_dicts, **params) opengpts-backend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ opengpts-backend | File "/usr/local/lib/python3.11/site-packages/openai/resources/chat/completions.py", line 1322, in create opengpts-backend | return await self._post( opengpts-backend | ^^^^^^^^^^^^^^^^^ opengpts-backend | File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1705, in post opengpts-backend | return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls) opengpts-backend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ opengpts-backend | File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1408, in request opengpts-backend | return await self._request( opengpts-backend | ^^^^^^^^^^^^^^^^^^^^ opengpts-backend | File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1499, in _request opengpts-backend | raise self._make_status_error_from_response(err.response) from None opengpts-backend | openai.NotFoundError: Error code: 404 - {'error': {'code': 'DeploymentNotFound', 'message': 'The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.'}} opengpts-backend | INFO: 172.22.0.4:57692 - "GET /threads/e85bb94f-cf6f-4cf5-b214-a19c086c7923/state HTTP/1.1" 200 OK
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I set azure info before oengpts start
and start opengpts I set a bot with default ,then I send a message to bot,it comes that
The text was updated successfully, but these errors were encountered: