OpenAI Tool Calling

OutdatedAudit Done
other
View Session

Health

Outdated

Benchmark

34/100

SDK Version

No SDK dependency

Audit Status

Audit Done

Started May 11, 2026

Approval

Not requested

Latest Audit Result

The openai-tool-calling docs guide uses the current Exa Search API pattern for the declared coverage: `search` with `type='auto'` and nested `contents={'highlights': True}`. It does not use deprecated/sunset Exa features from the changelog, including `/research`, `resolvedSearchType`, `highlightScores`, `startCrawlDate`/`endCrawlDate`, Auto-search scores, `numSentences`, `highlightsPerUrl`, `use_autoprompt`, or `findSimilar`. The guide is outdated due to copy-paste/runtime documentation issues and OpenAI model freshness, not due to Exa endpoint or parameter drift.

Health: outdated

Missing Features (3)

  • The runnable example imports dotenv/load_dotenv but the install command omits python-dotenv, so a fresh copy-paste setup can fail before calling Exa.
  • The short initialization snippet calls os.getenv without showing import os in that snippet; the full code includes import os.
  • The console output uses function_args.get('mode') even though the tool schema only defines query, producing exa_search (None) in the documented output.

Marked outdated since May 11, 2026

Missing Features (5)

  • The runnable example imports dotenv/load_dotenv but the install command omits python-dotenv, so a fresh copy-paste setup can fail before calling Exa.
  • The short initialization snippet calls os.getenv without showing import os in that snippet; the full code includes import os.
  • The console output uses function_args.get('mode') even though the tool schema only defines query, producing exa_search (None) in the documented output.
  • Refresh the OpenAI model examples from gpt-5.4 to the current recommended default gpt-5.5, or explicitly state gpt-5.4 is a valid pinned model choice; OpenAI docs currently recommend gpt-5.5 for new work while gpt-5.4 remains supported.
  • Optionally align the install command with current Exa docs by using the package spelling exa-py instead of exa_py, even though pip name normalization may resolve both.