Files
floci/mkdocs.yml
T
TiM c565398beb feat(bedrock-runtime): stub Converse and InvokeModel for #87 (#486)
Adds a bedrock-runtime service stub so AWS SDK and CLI clients can target
Floci for local development of Bedrock Runtime callers. Dummy responses
only: no real model inference.

- Register bedrock-runtime in ResolvedServiceCatalog under both "bedrock"
  and "bedrock-runtime" credential scopes (boto3 signs with signingName
  "bedrock" while some clients use the endpoint id)
- POST /model/{modelId}/converse returns a fixed assistant message plus
  synthetic usage and latency metrics matching the AWS Converse contract
- POST /model/{modelId}/invoke returns an Anthropic-shaped body for
  anthropic.* and *.anthropic.* model ids, generic {"outputs": [...]}
  otherwise. Request body is passed through as opaque bytes
- {modelId:.+} path regex accepts full ARNs (inference profiles,
  provisioned throughput) in addition to plain ids
- converse-stream and invoke-with-response-stream return 501 so SDKs
  get a clear error instead of 404
- Response building uses JsonNode rather than typed POJOs, avoiding
  native-image reflection registration

13 new integration tests (Converse + InvokeModel happy paths, validation,
inference-profile ids and ARNs, 501 streaming responses). Full suite
remains green: 2263 tests, 0 failures.
2026-04-16 17:13:17 -05:00

102 lines
2.9 KiB
YAML

site_name: Floci
site_description: Fast, free, open-source local AWS emulator
site_url: https://floci.io/floci/
repo_url: https://github.com/floci-io/floci
repo_name: floci-io/floci
edit_uri: edit/main/docs/
theme:
name: material
logo: assets/logo.svg
favicon: assets/logo.svg
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/brightness-7
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: indigo
accent: indigo
toggle:
icon: material/brightness-4
name: Switch to light mode
features:
- navigation.tabs
- navigation.sections
- navigation.top
- navigation.instant
- search.highlight
- search.suggest
- content.code.copy
- content.code.annotate
- content.tabs.link
extra_css:
- assets/extra.css
plugins:
- search
markdown_extensions:
- admonition
- pymdownx.details
- pymdownx.superfences
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.tabbed:
alternate_style: true
- pymdownx.inlinehilite
- tables
- attr_list
nav:
- Home: index.md
- Getting Started:
- Quick Start: getting-started/quick-start.md
- Installation: getting-started/installation.md
- AWS CLI & SDK Setup: getting-started/aws-setup.md
- Configuration:
- Docker Compose: configuration/docker-compose.md
- Ports Reference: configuration/ports.md
- application.yml Reference: configuration/application-yml.md
- Storage Modes: configuration/storage.md
- Initialization Hooks: configuration/initialization-hooks.md
- Services:
- Overview: services/index.md
- SSM Parameter Store: services/ssm.md
- SQS: services/sqs.md
- SNS: services/sns.md
- SES: services/ses.md
- S3: services/s3.md
- DynamoDB: services/dynamodb.md
- Lambda: services/lambda.md
- API Gateway: services/api-gateway.md
- Cognito: services/cognito.md
- KMS: services/kms.md
- Kinesis: services/kinesis.md
- Secrets Manager: services/secrets-manager.md
- CloudFormation: services/cloudformation.md
- Step Functions: services/step-functions.md
- IAM: services/iam.md
- STS: services/sts.md
- ElastiCache: services/elasticache.md
- RDS: services/rds.md
- MSK (Kafka): services/msk.md
- Glue: services/glue.md
- Athena: services/athena.md
- Data Firehose: services/firehose.md
- EventBridge: services/eventbridge.md
- EventBridge Scheduler: services/scheduler.md
- CloudWatch: services/cloudwatch.md
- ACM: services/acm.md
- ECS: services/ecs.md
- ECR: services/ecr.md
- OpenSearch: services/opensearch.md
- EC2: services/ec2.md
- AppConfig: services/appconfig.md
- Bedrock Runtime: services/bedrock-runtime.md
- Contributing: contributing.md