Fix Search.SearchJobs for Anthropic Models (#319)

Fixes this error:

```bash
openai.InternalServerError: Error code: 503 - {'name': 'all_models_unavailable', 'message': "failed to chat with models; Attempt 0: anthropic - anthropic (type = error, message = tools.75.custom.input_schema.properties: Property keys should match pattern '^[a-zA-Z0-9_-]{1,64}$'); Attempt 1: anthropic - anthropic (type = error, message = tools.75.custom.input_schema.properties: Property keys should match pattern '^[a-zA-Z0-9_-]{1,64}$'); Attempt 2: anthropic - anthropic (type = error, message = tools.75.custom.input_schema.properties: Property keys should match pattern '^[a-zA-Z0-9_-]{1,64}$')"}
```
This commit is contained in:
Eric Gustin 2025-03-19 19:53:46 -08:00 committed by GitHub
parent 86696ea794
commit a3371d71ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ async def search_jobs(
] = None,
language: Annotated[
str,
"2-character language code to use in the Google Jobs search. ",
"2-character language code to use in the Google Jobs search. "
f"E.g. 'en' for English. Defaults to '{DEFAULT_GOOGLE_JOBS_LANGUAGE}'.",
] = DEFAULT_GOOGLE_JOBS_LANGUAGE,
limit: Annotated[

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "arcade_search"
version = "1.2.0"
version = "1.2.1"
description = "Tools for searching the web"
authors = ["Arcade <dev@arcade.dev>"]