fix: 🐛 fix for --meilisearch-url flag
This commit is contained in:
parent
09ac7a7fc0
commit
e2798c5bb6
3 changed files with 6 additions and 2 deletions
|
|
@ -10,6 +10,7 @@ from ..libs.util.create_async_task import create_async_task
|
|||
from ..libs.util.devdata import dev_data_logger
|
||||
from ..libs.util.logging import logger
|
||||
from ..libs.util.telemetry import posthog_logger
|
||||
from ..server.main import meilisearch_url_global
|
||||
from ..server.meilisearch_server import (
|
||||
check_meilisearch_running,
|
||||
get_meilisearch_url,
|
||||
|
|
@ -285,7 +286,7 @@ class ContextManager:
|
|||
async def load_index(providers_to_load: List[ContextProvider]):
|
||||
running = await check_meilisearch_running()
|
||||
if not running:
|
||||
await start_meilisearch()
|
||||
await start_meilisearch(meilisearch_url_global)
|
||||
try:
|
||||
await asyncio.wait_for(poll_meilisearch_running(), timeout=20)
|
||||
except asyncio.TimeoutError:
|
||||
|
|
|
|||
|
|
@ -89,6 +89,9 @@ class ContinueSDK(AbstractContinueSDK):
|
|||
)
|
||||
await self.ide.setFileOpen(getConfigFilePath())
|
||||
|
||||
# As soon as possible, update the UI with the config
|
||||
self.update_ui()
|
||||
|
||||
# Start models
|
||||
self.models = self.config.models
|
||||
await self.models.start(self)
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ import ClassPropertyRef from '@site/src/components/ClassPropertyRef.tsx';
|
|||
|
||||
{dedent(schema.get("description", ""))}
|
||||
|
||||
[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/{filepath})
|
||||
[View the source](https://github.com/continuedev/continue/blob/main/server/continuedev/libs/llm/{filepath})
|
||||
|
||||
## Properties
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue