Skip to content

Conversation

geekalaa
Copy link
Contributor

@geekalaa geekalaa commented Aug 2, 2025

Fixes #281 by making the OpenAI server startup
timeout configurable via the ART_SERVER_TIMEOUT environment variable.

Summary

  • Add ART_SERVER_TIMEOUT environment variable support
  • Improve error message to inform users about the timeout option
  • Maintain backward compatibility with 10-second default

Test plan

  • Verified environment variable parsing works correctly
  • Confirmed backward compatibility with default 10s timeout
  • Tested error message includes helpful guidance

Future work

Add environment variables documentation section to docs.

  Fixes OpenPipe#281 by making the OpenAI server startup timeout configurable via
  the ART_SERVER_TIMEOUT environment variable. This allows users with slower
  model initialization to increase the timeout from the default 10 seconds.

  Changes:
  - Add ART_SERVER_TIMEOUT environment variable support
  - Improve error message to inform users about the timeout option
  - Maintain backward compatibility with 10-second default

  Future work: Add environment variables documentation section to docs.
@geekalaa geekalaa mentioned this pull request Aug 2, 2025
Copy link
Contributor

@arcticfly arcticfly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good :)

@arcticfly
Copy link
Contributor

@geekalaa looks like the code quality checks failed. Could you run ./scripts/run_checks.sh --fix to fix formatting?

@geekalaa
Copy link
Contributor Author

geekalaa commented Aug 4, 2025

@arcticfly I’ve fixed the code quality issues using ./scripts/run_checks.sh --fix.

@bradhilton
Copy link
Collaborator

Thanks @geekalaa!

@bradhilton bradhilton merged commit 204cf6c into OpenPipe:main Aug 4, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timeout issue
3 participants