14 lines
460 B
Rust
14 lines
460 B
Rust
pub mod schema;
|
|
|
|
use warp_graphql::client::RequestOptions;
|
|
pub use warp_graphql::client::{get_request_context, get_user_facing_error_message, GraphQLError};
|
|
|
|
/// Returns the default [`RequestOptions`] that should be used for a GraphQL request.
|
|
pub fn default_request_options() -> RequestOptions {
|
|
RequestOptions {
|
|
#[cfg(feature = "agent_mode_evals")]
|
|
path_prefix: Some("/agent-mode-evals".to_string()),
|
|
..Default::default()
|
|
}
|
|
}
|