docs(bedesten): point rate-limit message to Yargı MCP Pro beta
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
96a5a538b2
commit
5392435c7a
+14
-12
@@ -1197,9 +1197,10 @@ For best results, use exact phrases with quotes for legal terms."""),
|
|||||||
"message": (
|
"message": (
|
||||||
"Bedesten istemci tarafı eşzamanlılık sınırına ulaşıldı "
|
"Bedesten istemci tarafı eşzamanlılık sınırına ulaşıldı "
|
||||||
"(yerel token-bucket dolu). Lütfen kısa bir süre bekleyip "
|
"(yerel token-bucket dolu). Lütfen kısa bir süre bekleyip "
|
||||||
"aramayı tekrar deneyin. Alternatif olarak yargi-cli aracını "
|
"aramayı tekrar deneyin. Yargı MCP'nin daha hızlı ve "
|
||||||
"kullanabilirsiniz: https://github.com/saidsurucu/yargi-cli "
|
"profesyonel versiyonunu test etmek için beta sürümüne "
|
||||||
"(kullanım talimatları için repo README'sini okuyun)."
|
"kaydolabilirsiniz: "
|
||||||
|
"https://yargi-mcp-pro-production.up.railway.app"
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
except httpx.HTTPStatusError as e:
|
except httpx.HTTPStatusError as e:
|
||||||
@@ -1218,9 +1219,9 @@ For best results, use exact phrases with quotes for legal terms."""),
|
|||||||
"message": (
|
"message": (
|
||||||
"Bedesten API rate limit aşıldı (HTTP 429 Too Many Requests). "
|
"Bedesten API rate limit aşıldı (HTTP 429 Too Many Requests). "
|
||||||
"Lütfen kısa bir süre bekleyip aramayı tekrar deneyin. "
|
"Lütfen kısa bir süre bekleyip aramayı tekrar deneyin. "
|
||||||
"Alternatif olarak yargi-cli aracını kullanabilirsiniz: "
|
"Yargı MCP'nin daha hızlı ve profesyonel versiyonunu test "
|
||||||
"https://github.com/saidsurucu/yargi-cli "
|
"etmek için beta sürümüne kaydolabilirsiniz: "
|
||||||
"(kullanım talimatları için repo README'sini okuyun)."
|
"https://yargi-mcp-pro-production.up.railway.app"
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
logger.exception("Error in tool 'search_bedesten_unified'")
|
logger.exception("Error in tool 'search_bedesten_unified'")
|
||||||
@@ -1253,9 +1254,10 @@ async def get_bedesten_document_markdown(
|
|||||||
message = (
|
message = (
|
||||||
"Bedesten istemci tarafı eşzamanlılık sınırına ulaşıldı "
|
"Bedesten istemci tarafı eşzamanlılık sınırına ulaşıldı "
|
||||||
"(yerel token-bucket dolu). Lütfen kısa bir süre bekleyip "
|
"(yerel token-bucket dolu). Lütfen kısa bir süre bekleyip "
|
||||||
"belgeyi tekrar talep edin. Alternatif olarak yargi-cli aracını "
|
"belgeyi tekrar talep edin. Yargı MCP'nin daha hızlı ve "
|
||||||
"kullanabilirsiniz: https://github.com/saidsurucu/yargi-cli "
|
"profesyonel versiyonunu test etmek için beta sürümüne "
|
||||||
"(kullanım talimatları için repo README'sini okuyun). "
|
"kaydolabilirsiniz: "
|
||||||
|
"https://yargi-mcp-pro-production.up.railway.app "
|
||||||
f"Retry-After: {retry_after}"
|
f"Retry-After: {retry_after}"
|
||||||
)
|
)
|
||||||
return BedestenDocumentMarkdown(
|
return BedestenDocumentMarkdown(
|
||||||
@@ -1271,9 +1273,9 @@ async def get_bedesten_document_markdown(
|
|||||||
message = (
|
message = (
|
||||||
"Bedesten API rate limit aşıldı (HTTP 429 Too Many Requests). "
|
"Bedesten API rate limit aşıldı (HTTP 429 Too Many Requests). "
|
||||||
"Lütfen kısa bir süre bekleyip belgeyi tekrar talep edin. "
|
"Lütfen kısa bir süre bekleyip belgeyi tekrar talep edin. "
|
||||||
"Alternatif olarak yargi-cli aracını kullanabilirsiniz: "
|
"Yargı MCP'nin daha hızlı ve profesyonel versiyonunu test "
|
||||||
"https://github.com/saidsurucu/yargi-cli "
|
"etmek için beta sürümüne kaydolabilirsiniz: "
|
||||||
"(kullanım talimatları için repo README'sini okuyun)."
|
"https://yargi-mcp-pro-production.up.railway.app"
|
||||||
)
|
)
|
||||||
if retry_after:
|
if retry_after:
|
||||||
message += f" Retry-After: {retry_after}"
|
message += f" Retry-After: {retry_after}"
|
||||||
|
|||||||
Reference in New Issue
Block a user