Directories
¶
| Path | Synopsis |
|---|---|
|
Package anthropic adapts Anthropic's Messages API to agent.Model.
|
Package anthropic adapts Anthropic's Messages API to agent.Model. |
|
Package gemini adapts Google's Gemini generateContent API to agent.Model.
|
Package gemini adapts Google's Gemini generateContent API to agent.Model. |
|
internal
|
|
|
toolcfg
Package toolcfg checks a request's tools and tool choice against the rules the model providers enforce, so an adapter refuses a setup the provider would answer with a 400 before sending it, with an agent.ErrConfig that says what is wrong.
|
Package toolcfg checks a request's tools and tool choice against the rules the model providers enforce, so an adapter refuses a setup the provider would answer with a 400 before sending it, with an agent.ErrConfig that says what is wrong. |
|
Package modeltest checks an HTTP-backed agent.Model against the streaming contract the agent loop relies on:
|
Package modeltest checks an HTTP-backed agent.Model against the streaming contract the agent loop relies on: |
|
Package openai adapts the OpenAI Chat Completions API to agent.Model.
|
Package openai adapts the OpenAI Chat Completions API to agent.Model. |
Click to show internal directories.
Click to hide internal directories.