mirror of
https://github.com/langchain-ai/oap-langgraph-tools-agent.git
synced 2026-07-01 20:54:00 -04:00
cr
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.PHONY: format lint lint-fix help
|
||||
.PHONY: format lint help
|
||||
|
||||
format:
|
||||
ruff format .
|
||||
@@ -12,4 +12,3 @@ help:
|
||||
@echo "Available commands:"
|
||||
@echo " make format - Format code with ruff"
|
||||
@echo " make lint - Check code with ruff"
|
||||
@echo " make lint-fix - Fix linting issues with ruff"
|
||||
|
||||
@@ -109,7 +109,6 @@ async def fetch_tokens(config: RunnableConfig) -> dict[str, Any]:
|
||||
|
||||
current_tokens = await get_tokens(config)
|
||||
if current_tokens:
|
||||
print("Current tokens found")
|
||||
return current_tokens
|
||||
|
||||
supabase_token = config.get("configurable", {}).get("x-supabase-access-token")
|
||||
@@ -122,7 +121,5 @@ async def fetch_tokens(config: RunnableConfig) -> dict[str, Any]:
|
||||
|
||||
mcp_tokens = await get_mcp_access_token(supabase_token, base_mcp_token_exchange_url)
|
||||
|
||||
print(f"Created new tokens!!!!!!\n\n{mcp_tokens}\n\n")
|
||||
|
||||
await set_tokens(config, mcp_tokens)
|
||||
return mcp_tokens
|
||||
|
||||
Reference in New Issue
Block a user