mirror of
https://github.com/docker/docker-agent.git
synced 2026-11-04 10:02:15 +00:00
Resolves the browser's IANA timezone via Intl on every call in WASM builds, since time.Local there caches a fixed offset with no DST support, falling back to the per-instant JS offset when Intl isn't available. Native builds are unchanged. Assisted-By: Docker Agent Signed-off-by: David Gageot <david.gageot@docker.com>
14 lines
580 B
YAML
14 lines
580 B
YAML
agents:
|
|
root:
|
|
model: openai/gpt-5-mini
|
|
description: Reports the current date and time in your preferred format
|
|
instruction: |
|
|
Use get_datetime whenever the user asks for the current date or time.
|
|
Choose a Go time layout that matches the requested format, such as
|
|
2006-01-02 for a date, 15:04:05 for a time, or
|
|
2006-01-02T15:04:05Z07:00 for a full datetime.
|
|
Set timezone when the user requests a particular location or UTC;
|
|
otherwise use the host's local timezone. Return the result concisely.
|
|
toolsets:
|
|
- type: datetime
|