kill built_at field in run config

This commit is contained in:
Ashwin Bharambe 2024-11-17 20:42:11 -08:00
parent b1d119466e
commit fa1d29cfdc
15 changed files with 0 additions and 20 deletions

View file

@ -1,5 +1,4 @@
version: '2'
built_at: '2024-11-01T17:40:45.325529'
image_name: local
name: bedrock
docker_image: null

View file

@ -1,5 +1,4 @@
version: '2'
built_at: '2024-10-08T17:40:45.325529'
image_name: local
docker_image: null
conda_env: local

View file

@ -1,5 +1,4 @@
version: '2'
built_at: '2024-10-08T17:40:45.325529'
image_name: local
docker_image: null
conda_env: local

View file

@ -1,5 +1,4 @@
version: '2'
built_at: '2024-10-08T17:40:45.325529'
image_name: local
docker_image: null
conda_env: local

View file

@ -1,5 +1,4 @@
version: '2'
built_at: '2024-10-08T17:40:45.325529'
image_name: local
docker_image: null
conda_env: local

View file

@ -1,5 +1,4 @@
version: '2'
built_at: '2024-10-08T17:40:45.325529'
image_name: local
docker_image: null
conda_env: local

View file

@ -1,5 +1,4 @@
version: '2'
built_at: '2024-10-08T17:40:45.325529'
image_name: local
docker_image: null
conda_env: local

View file

@ -1,5 +1,4 @@
version: '2'
built_at: 2024-11-17 19:33:00
image_name: ollama
docker_image: null
conda_env: null

View file

@ -1,5 +1,4 @@
version: '2'
built_at: 2024-11-17 19:33:00
image_name: remote-vllm
docker_image: llamastack/distribution-remote-vllm:test-0.0.52rc3
conda_env: null

View file

@ -1,5 +1,4 @@
version: '2'
built_at: 2024-11-17 19:33:00
image_name: tgi
docker_image: llamastack/distribution-tgi:test-0.0.52rc3
conda_env: null

View file

@ -1,5 +1,4 @@
version: '2'
built_at: '2024-10-08T17:40:45.325529'
image_name: local
docker_image: null
conda_env: local

View file

@ -193,7 +193,6 @@ class StackBuild(Subcommand):
apis = list(build_config.distribution_spec.providers.keys())
run_config = StackRunConfig(
built_at=datetime.now(),
docker_image=(
build_config.name
if build_config.image_type == ImageType.docker.value

View file

@ -4,8 +4,6 @@
# This source code is licensed under the terms described in the LICENSE file in
# the root directory of this source tree.
from datetime import datetime
from typing import Dict, List, Optional, Union
from pydantic import BaseModel, Field
@ -115,7 +113,6 @@ class Provider(BaseModel):
class StackRunConfig(BaseModel):
version: str = LLAMA_STACK_RUN_CONFIG_VERSION
built_at: datetime
image_name: str = Field(
...,

View file

@ -6,7 +6,6 @@
import json
import tempfile
from datetime import datetime
from typing import Any, Dict, List, Optional
from llama_stack.distribution.datatypes import * # noqa: F403
@ -37,7 +36,6 @@ async def construct_stack_for_test(
) -> TestStack:
sqlite_file = tempfile.NamedTemporaryFile(delete=False, suffix=".db")
run_config = dict(
built_at=datetime.now(),
image_name="test-fixture",
apis=apis,
providers=providers,

View file

@ -4,8 +4,6 @@
# This source code is licensed under the terms described in the LICENSE file in
# the root directory of this source tree.
from datetime import datetime
from io import StringIO
from pathlib import Path
@ -87,7 +85,6 @@ class RunConfigSettings(BaseModel):
return StackRunConfig(
image_name=name,
docker_image=docker_image,
built_at=datetime.now().strftime("%Y-%m-%d %H:%M"),
apis=list(apis),
providers=provider_configs,
metadata_store=SqliteKVStoreConfig.sample_run_config(