Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aiscriptdev/aiscript
/ openai_client
Function
openai_client
aiscript-vm/src/ai/mod.rs:11–16 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
9
10
#[allow(unused)]
11
pub(crate) fn openai_client() -> OpenAIClient {
12
OpenAIClient::builder()
13
.with_api_key(env::var(
"OPENAI_API_KEY"
).unwrap().to_string())
14
.build()
15
.unwrap()
16
}
Callers
2
_run_agent
Function · 0.85
_prompt_with_config
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected